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.
MS-DOS, Disks, and Directories
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
MS-DOS, Disks, and Directories
■ The following keywords are used in Visual Basic to find, traverse, and
change disk drives and directories, and to perform other MS-DOS tasks:
◄CHDIR► Changes current default directory for specified drive
◄CHDRIVE► Changes current drive
◄COMMAND$► Returns argument portion of command line string
◄CURDIR$► Returns path currently in use for the specified drive
◄DIR$► Returns file name that matches the specified pattern
◄ENVIRON► Changes or adds environment string
◄ENVIRON$► Returns MS-DOS environment string
◄FILES► Displays the current or specified directory contents
◄Interrupt[X]► Performs MS-DOS system calls
◄KILL► Deletes files from disk
◄MKDIR► Creates new directory
◄NAME► Changes name of a disk file or directory
◄RMDIR► Removes existing directory
◄SHELL► Suspends execution of program and runs another executable
See: ◄Keywords by Task► ◄Directory List Box Control►
◄Drive List Box Control► ◄File List Box Control►