MAKEDIR        Create a new local folder

Top  Previous  Next

Syntax:

MAKEDIR

[ folder name ]

Alt Syntax:

NEWDIR

[ folder name ]

Arguments:

[ folder name ]

Variable or string defining the folder name to create.

Options:

none

 

 

 

This script command creates a new local folder (also referred to as a directory). Consider the following example in which a folder is created on the E: drive.

 

       MAKEDIR "e:\newbie"

 

Folders may be created only one level at a time. For example, if you wanted to create a new subfolder under a new folder named e:\newbie, it would require two MAKEDIR commands as shown below:

 

       MAKEDIR "e:\newbie\subfolder"    ;;WRONG!

       ;; do it this way:

       MAKEDIR "e:\newbie"  

       MAKEDIR "e:\newbie\subfolder"

 

Related Command(s): CHGDIR, DELDIR, WORKINGDIR