VB6Runtime / Library / File / ch_drive

VB6 Library Reference

VB6 ChDrive statement syntax: - ChDrive drive Changes the current drive. The drive argument is a String expression that specifies the drive letter. Only the first character is used; if the string is empty, no action occurs.

Remarks

Examples

ChDrive "D"     ' Change to D: drive
ChDrive "E:"    ' Change to E: drive

Reference

← Back to File | View all functions