Contributed By: Marcus Tettmar [email protected]
Submitted On: 16/05/97
If you need to copy, move or delete files etc, an easy way is to create a
DOS batch file and then use Run Program>batchfile.bat in your script.
Alternatively you can even send commands straight to a DOS box, like
this:
Run Program>command.com
SetFocus>MS-DOS Prompt
Send Character/Text>COPY FILE.A FILE.B
Press ENTER
Even easier, why not use an existing operating system trick like this:
Run Program>command.com /c copy file.a file.b
The /c parameter allows a dos command to be run in its own shell.
You could run any DOS command like this !
NB: With version 4.0 you can do the above example using the CopyFile command !
Run DOS batch files and DOS commands.
Moderators: JRL, Dorian (MJT support), Phil Pendlebury
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact: