Difference between revisions of "CHDIR"

From QB64 Wiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
'''Syntax:'''
 
'''Syntax:'''
CHDIR pathname
+
CHDIR ''pathname''
  
 
'''Comments:'''
 
'''Comments:'''

Revision as of 16:52, 31 August 2009

Purpose: To change from one working directory to another.

Syntax: CHDIR pathname

Comments: pathname is a string expression of up to 63 characters.

To make sales the working directory on Drive A: and inventory the working directory on Drive B: (assume A: is the default drive), type the following commands:

CHDIR "SALES" 
CHDIR "B:INVENTORY"