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

 

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com