home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr cy
- COMMAND NAME»gray«: »%t« MakeDir »ye«
-
- /MD {directory} [N]
- /cw
- The »%t«MakeDir»#« command is the equivalent of DOS' »gr«MKDIR»#« command.
- Any variables in »cy«{directory}»#« are expanded before the command
- is executed. »cy«{directory}»wh« must be a valid DOS sub-directory
- after the expansion of any variables.»#«
- .pg clr
-
- After the execution of the »%t«MakeDir»#« command, »%t«DO»#« branches to
- one of two labels:
-
- »ma«:MDOK»#« The MakeDir command was successfully executed.
- »ma«:MDERROR»#« The MakeDir command was »re«NOT»#« successfully executed.
- That is »%t«DO»#« was unable to create the indicated
- directory.
-
- If the "»ye«N»#«" token is included, the command will »+re«NOT»#« branch to the
- labels, but will continue on the next line of the script regardless
- of the outcome.
-
- .pg clr
- See the »%t«RemoveDir»#« command for a demonstration of the »%t«MakeDir»#«
- command.
-
- /ENDEXEC CLEAR