Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_defdrive() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_DEFDRIVE()

 DESCRIPTION

 C_DEFDRIVE() sets the default drive to a specified drive and returns
 the current default drive.

 SYNTAX

 C_DEFDRIVE([new_default])

 PARAMETERS

 new_default (C/N) is the new default drive to set.  The drive can
 be specified as a character string (A, B, C, etc.) or as a numeric
 drive number (1 = A, 2 = B, 3 = C, etc.).  If new_default is not
 specified, C_DEFDRIVE() will only return the current default drive.

 RETURNS

 C_DEFDRIVE() returns the current default drive as a character
 string (A, B, C, etc.).

 EXAMPLES

 ? c_defdrive()    --> C    && Current default is C:
 ? c_defdrive("D") --> C    && Current is C:, change default to D:
 ? c_defdrive()    --> D    && Default drive is now D:
 ? c_defdrive(3)   --> D    && Current is D:, change back to C:
 ? c_defdrive()    --> C    && Default drive is now C:


See Also: C_GETDRIVES() C_DRIVESTR() C_DISKTYPE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson