home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / ibm1 / do101j2.arj / MD.SCR < prev    next >
Encoding:
Text File  |  1991-12-13  |  1.0 KB  |  29 lines

  1. .pg wi full clr cy
  2.     COMMAND NAME»gray«: »%t« MakeDir »ye«
  3.  
  4.     /MD {directory} [N]
  5. /cw
  6.     The »%t«MakeDir»#« command is the equivalent of DOS' »gr«MKDIR»#« command.
  7.     Any variables in »cy«{directory}»#« are expanded before the command
  8.     is executed. »cy«{directory}»wh« must be a valid DOS sub-directory
  9.     after the expansion of any variables.»#«
  10. .pg clr
  11.  
  12.     After the execution of the »%t«MakeDir»#« command, »%t«DO»#« branches to
  13.     one of two labels:
  14.  
  15.     »ma«:MDOK»#«     The MakeDir command was successfully executed.
  16.     »ma«:MDERROR»#«  The MakeDir command was »re«NOT»#« successfully executed.
  17.               That is »%t«DO»#« was unable to create the indicated
  18.               directory.
  19.  
  20.     If the "»ye«N»#«" token is included, the command will »+re«NOT»#« branch to the
  21.     labels, but will continue on the next line of the script regardless
  22.     of the outcome.
  23.  
  24. .pg clr
  25.     See the »%t«RemoveDir»#« command for a demonstration of the »%t«MakeDir»#«
  26.     command.
  27.  
  28. /ENDEXEC CLEAR
  29.