Difference between revisions of "CHDIR"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
Line 10: Line 10:
 
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:
 
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 "SALES"  
CHDIR "B:INVENTORY"
+
: CHDIR "B:INVENTORY"
 +
 
 +
 
 +
''See also:'' [[SHELL]], [[FILES]], [[MKDIR]]
 +
 
 +
 
 +
 
 +
==Navigation:==
 +
 
 +
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 +
 
 +
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]

Revision as of 19:17, 7 September 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"


See also: SHELL, FILES, MKDIR


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage