CHDIR statement

Purpose: Use this statement to change to a specified folder


 Syntax:

 CHDIR FolderName$

 Parameters:

  • FolderName$ String literal or variable containing name of folder to which to change.
Example:

 CHDIR "C:\Temp\More"

Result:

The current folder is changed to the C:\Temp\More sub-folder.