advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CHDRIVE Statement Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 CHDRIVE drive$
 
 Usage Notes
   ■ The drive specified must correspond to an existing drive and must be in
     the range A to lastdrive, where lastdrive is the maximum drive letter
     you may have set in your CONFIG.SYS file.
 
   ■ If you omit the argument drive$, Visual Basic generates an error.
 
   ■ If you supply a null argument ("") for drive$, the current drive does
     not change.
 
   ■ CHDRIVE is not case sensitive ("C" is the same as "c").
 
   ■ Since only the first letter of the drive$ argument is used, the colon
     (:) is always optional.