CHDIR([pathname]) |
Defines the current default directory. |
pathname | (Optional) The full pathname of the directory you want to switch to (String). |
REMARKS |
* This changes the default directory used when Visual Basic searches for files without a fully qualified path. * The "path" may often include a drive. If it does, is the current drive changed ? * If "path" is left blank, then the default directory is changed on the current drive. * 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.ChDir * For the Microsoft documentation refer to docs.microsoft.com |
ChDir "C:\Temp\SubFolder"
Call ChDir("C:\Temp\SubFolder")
ChDir ".."
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited Top