7 lines
1.5 KiB
HTML
7 lines
1.5 KiB
HTML
<html><head><title>Command: ChangeDir </title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href='../css/commands.css' type='text/css'></head><body><span class='Command'> ChangeDir directory/path </span></p><span class='header'>Definition:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>Changes the currently selected directory for file operations.</td></tr></table><span class='header'><br>Parameter Description:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>directory/path = full path to directory/folder</td></tr></table><p class='header'>Command Description: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>This command will change the currently selected directory for disk operations, useful for advanced file operations. Use <a href='CURRENTDIR$().htm'>CURRENTDIR$()</a> to see what the current directory is.<br>
|
|
Use a directory/path of ".." to change to the parent of the current directory, unless you are at the root directory of the drive, then no change happens.</td></tr></table><p class='header'>Example: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>; ChangeDir example<br>
|
|
<br>
|
|
ChangeDir "c:\winnt\system32"<br>
|
|
Print "The folder has been changed to: " + currentdir$()<br></td></tr></table><p><b><a target="_top" href="../index.htm">Index</a></b></p></body>
|
|
</html>
|