In order to launch a program and complete a task, do the following:
In the Application Name field, enter the application name.
In the Command Line Arguments field, enter the command line arguments to accomplish one task.
Set Window State, Thread Priority and Time to Wait as desired or accept the default settings.
Click Add.
This task is added to the conversion task list.
Click Convert (or press F5).
The single task you entered will run.
For a more complicated example, let us run the five commands in the table below as unified 'Conversion Job'. To do this go through steps 1-4 for each Application Name/Command Line Argument pair. The entire job will accomplish the following:
Create a directory named TestDir on drive C.
Copy the file Sample1.TXT into the folder, and name it Copy1.TXT.
Rename the new file CopyOfSample and save it in rich text format (*.RTF).
Delete the file Sample1.TXT from drive D.
Run a batch file named cmdline.BAT.
Application Name |
Command Line Arguments |
c:\windows\system32\cmd.exe |
/c mkdir C:\TestDir |
c:\windows\system32\cmd.exe |
/c copy D:\Suzanne\Sample1.TXT C:\TestDir\Copy1.TXT |
c:\windows\system32\cmd.exe |
/c rename C:\TestDir\Copy1.TXT CopyOfSample.RTF |
c:\windows\system32\cmd.exe |
/c del D:\Suzanne\Sample1.TXT |
c:\windows\system32\cmd.exe |
/c D:\Suzanne\cmdline.BAT |
NOTE: CMD.EXE is sometimes called COMMAND.EXE, both are in the system folder (i.e. System32) folder of your operating system.
See Also: