ChDrive Statement Example

This example uses the ChDrive statement to change the current drive. On the Macintosh, ôHD:ö is the default drive name and ChDrive would change the current folder to the root folder of the specified drive. The following example assumes the machine actually has a drive named D.

ChDrive "D"    ' Make "D" the current drive.