Navigation:  thinBasic Modules > File >

DIR_Change

Previous pageReturn to chapter overviewNext page

 

Description

 

Change the current (default) directory on the default drive, or any other drive.

DIR_Change affects only the default drive for the current program.

 

Syntax

 

n = DIR_Change(Path)

 

Returns

 

Number.

0 = no errors

 

Parameters

 

Name

Type

Optional

Meaning

Path

String

No

Full path.

 

Remarks

 

Restrictions

 

See also

 

File Module,

 

Examples