MKDIR

Format

MKDIR string1

Description

This statement is used to create a new DOS directory. Specify the directory to create in string1. If ASIC is unable to create the directory, it will set the System ERROR variable. A list of ERROR codes may be found is the Error Messages Chapter of the ASIC Manual.

Example 1

MKDIR "WORK"
IF ERROR = 0 THEN NOERROR:
This code would create a directory called "WORK" under the current directory of the current drive.

Example 2

MKDIR "C:\WORK"
This code would create a directory called "WORK" under the root directory of drive "C".

See Also

  • CHDIR
  • RMDIR