DIR_ChangeDrive

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > DIR: functions working on directories >

DIR_ChangeDrive

 

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