Commandline

Examples to put after CreateProcess.CommandLine in the Config File :

  • To make this program work like DCSWatch you need a command line like
"C:\Program Files\Optio\OECI\bin\eiserver" -f "%Level1%.dcl" "%FileName%"
See also the Example Config File
  • To start a batch file based on the directory a file came from
"C:\Tools\%Level1%.bat" "%FileName%"
Put a batchfile for every directory in the C:\Tools folder
  • To start a batch file based on the directory a file came from depending on basedir
"C:\Tools\%Level1%%BaseDirCount%.bat" "%FileName%"
Put a batchfile for every directory and every basedir count in the C:\Tools folder
  • To start a program in the Current directory where the file is found
"%CurrentDir%\~~Start.bat" "%FileName%" "%OriginalFileNoExt%.xml"
Note the ~~, this will make the program ignore the file, you can also put ".bat" on the exclusion list in the Config File
  • To send files into an Optio Queue (Check the specifics of your local LPR.EXE)
C:\winnt\system32\lpr.exe -S OptioServer -D SmartSelectQueue -o l -J "%OriginalFile%" "%FileName%"
This assumes a Queue called SmartSelectQueue on the server OptioServer
  • Other way to send files into a printer queue
C:\Windows\System32\CMD.EXE /C COPY "%FileName%" \\PrintServer\PrintQueue
This assumes a Queue called PrintQueue on the server PrintServer



Gesponsorde koppelingen