next up previous contents
Next: 1.5 Accessing Other Directories Up: 1.4 Executing System Commands Previous: 1.4.1 Obtaining a Directory

1.4.2 When You Can't Spawn

 On some systems, it can either be difficult (e.g. Windows 3.1) or impossible (e.g., MACos) to spawn to system commands from within IDL. For this reason, we have written the commands COPUF, DIRLIST and SHOWTXT to allow file copying, directory listings and displaying ASCII text files from within IDL. Use the prolog command to get more information on the programs. Some examples are,

COPUF,'swp25303s.dat','modt.dat' copies an elbl file

DIRLIST,'*.pro' lists procedure files

SHOWTXT,'' displays file