CHDIR

From QB64 Wiki
Revision as of 16:52, 31 August 2009 by 63.116.159.137 (talk)
Jump to navigation Jump to search

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"