CHDRIVE([drive])

Defines the current default drive.


drive(Optional) The drive (String).

REMARKS
* If "drive" is left blank, then the current drive is not changed.
* If "drive" contains more than one character, then only the first letter is used.
* This subroutine should not be used as it is better to always explicitly include the directory path when referring to files.
* The equivalent .NET function is Microsoft.VisualBasic.FileSystem.ChDrive
* For the Microsoft documentation refer to docs.microsoft.com

ChDrive "D" 
Call ChDrive("D")

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top