Valid on Windows only
The SetDirectory function changes the current directory.
This miscellaneous function has the format:
SetDirectory(pathstring as String) as Boolean
Specifies the name of the directory to create.
On successful completion, the function returns TRUE, otherwise it returns FALSE.
Example: SetDirectory function
Rem switch to c:\backup
If Not(SetDirectory(c:\backup) Then
Print("c:\backup does not exist");
exit
End If
|
Copyright © 2013 CA.
All rights reserved.
|
|