Difference between revisions of "CHDIR"

From QB64 Wiki
Jump to navigation Jump to search
(Created page with ''''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 sal…')
 
Line 4: Line 4:
 
'''Syntax:'''
 
'''Syntax:'''
 
CHDIR pathname
 
CHDIR pathname
 +
 
'''Comments:'''
 
'''Comments:'''
 
pathname is a string expression of up to 63 characters.
 
pathname is a string expression of up to 63 characters.

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"