>
shell
>
shell command_string
Caution: It is not possible to use symbols inside the command line. Example:
SPECTRAThe last command won't work because VMS sees the string "print/que=f41ps1 file" and not "print/que=f41ps1 laser.ps " which was intended by the user. However, it is possible to tailor a SHELL command string using symbol replacements: The symbols have to be concatenated to a single symbol, which contains the entire command line.>
file = laser.hp
SPECTRA>
shell print/que=f41ps1 file wrong!
Example:
SPECTRAThe symbol COM_LINE contains "shell print/que=f41ps1 laser.ps". It is translated at the beginning of the syntax analysis. Then the verb SHELL is recognized and everything else works fine.>
file = laser.ps
SPECTRA>
com_line = "shell print/que=f41ps1 "file
SPECTRA>
com_line
>
shell dir
>
shell mail