Changes the current drive.
ret = ChDrive (DriveString)
ret |
Integer,output |
|
0 = OK |
|
Non zero = Error |
|
|
DriveString |
String, input |
|
The string that contains the drive letter to change to. |
This is a PASSPORT command. This command is a Visual Basic command but is not implemented by VBScript.
Example
Sub ZMain()
ChDrive "A"
End Sub