REXX Tips & Tricks, Version 2.80


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


Call another CMD





 
/* code sequence to call another CMD file from within an CMD file     */

  cmdLine=progDrive || progPath || progName || " " || ProgParm
  "cmd /c " cmdLine
                        /* "RC" contains the return code              */
  if rc <> 0 & rc <> "RC" then
    say "Error: The program ends with RC = " || rc

  

Inf-HTML End Run - Successful