The OS Command component supports all substitutions in file parameters anywhere on the command line or in a script (pointed to file substitutions). For example: modeldir3/myprog.exe "{workid}" > {root xx}myfile.out You must use the following standards when entering the command:
Note: Isight does not support other shell or cmd.exe punctuation such as “|” (pipe), “&&” or “;” (multiple commands), and “&” (background). For example, to run the program myprog with arguments a and b c d, reading input from the file sample.txt and writing output to the file bar.txt, the command line would resemble the following: myprog a "b c d" <sample.txt >bar.txt On Windows operating systems, it is sometimes necessary to enclose an argument in double quotation marks when passing it to the operating system, even if the argument does not contain spaces. To support this, any argument on the command line that is surrounded by double quotation marks is passed to the operating system with the double quotation marks, regardless of whether or not the argument contains spaces. Arguments surrounded by single quotation marks are sent to the operating system with double quotation marks only if the argument contains spaces. On Linux systems, all quotation marks are removed because Linux accepts arguments as separate strings instead of as a single command line. |