QBasic 1.1: MKDIR Statement
Explanation
CHDIR, MKDIR, RMDIR, FILES Statements
CHDIR changes a drive's default directory.
MKDIR creates a subdirectory.
RMDIR removes a subdirectory.
FILES displays the contents of the current directory or a specified directory.
Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Syntax
CHDIR pathname$ |
MKDIR pathname$ |
RMDIR pathname$ |
FILES [filespec$] |
Description / Parameter(s)
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"