folder create

Creates the named folder. Any action script with the create command will terminate if the folder cannot be created. This can happen due to write protection or an attempt to write to a CD-ROM, for instance. It will also terminate if the path already exists, but does not refer to a folder.

Syntax

folder create <FolderName>

Where FolderName is the name of the folder to create (typically enclosed in quotes). Relevance substitution is performed on the arguments of folder create command lines.

Examples

folder create "c:\program files\bigsoftdir"
folder create "{name of drive of windows folder}\Extras"

These examples create the specified folders. Note that you can use variable substitution (in curly brackets) to specify pathnames.

Note

It is always good practice to enclose folder names in quotes to preserve any spaces.

Version 8.0