Navigation:  thinBasic Modules > File >

DIR_ChangeDrive

Previous pageReturn to chapter overviewNext page

 

Description

 

Change the current working drive.

 

Syntax

 

n = DIR_ChangeDrive(DriveName)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

DriveName

String

No

Name of the drive (disk) to change to. Examples: "C:" or "D:"

 

Remarks

 

Restrictions

 

See also

 

File Module,

 

Examples