change_dir


The change_dir function changes to a different directory. The directory is specified using its full path, for example, a string or value equal to "D:\\data\\2022-06-14\\data". Note that Windows directory components must be separated by the '\\' or '/' characters.

Syntax

bSuccess, sMsg = change_dir( sFullPath )

bullet.gif    sFullPath is the full path name for the target directory.

bullet.gif    bSuccess is true if the function is successful or false if not.

bullet.gif    sMsg is an optional message string that recieves information about the failure.

Remarks

To change one directory higher in the file system, use change_dir_up.

Related Topics

Directory Functions, change_dir_up, get_dir


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.