$copy (VMS, you will be prompted for the arguments)
If you are not in IDL, you may omit the ``$''.
This process is called ``spawning''. It can also be done using the IDL ``spawn'' command. Here are a VMS example and a UNIX example:
Certain system commands will not work from within IDL. For example, in VMS
you cannot use ``set def [.subdirectory]'' to change to another directory.
(See Section 1.5). Also you cannot change VMS logical names using
the ``assign'' or ``define'' commands. You may use the IDL command SETLOG
to do this. For example, to change your default laser printer:
$assign iue$laser1 laser is the VMS command;
setlog,'laser','iue$laser1' is the IDL command.
is the general syntax of SETLOG.
On UNIX systems the process environment may be changed with the SETENV command:
setenv,'environment' is the general syntax of SETENV.
is an example of its use.