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.
CHDIR, MKDIR, RMDIR, FILES Statements
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
CHDIR changes a drive's default directory. MKDIR creates a subdirectory.
MRDIR removes a subdirectory. FILES displays the contents of the current
directory or a specified directory.
CHDIR pathname$
MKDIR pathname$
RMDIR pathname$
FILES [filespec$]
■ pathname$ The path of the new default directory, subdirectory to
create, or subdirectory to remove.
■ filespec$ A filename or path (may include a drive and DOS wildcard
characters). If you don't specify a filespec$, FILES
displays all files in the current directory.
Example:
MKDIR "C:\TEMP\TEST"
CHDIR "C:\TEMP"
FILES
RMDIR "TEST"