in reply to Re^2: Direct Connect Question
in thread Direct Connect Question
In that case, then you'd just pass the process number in the args list, and then your batch file could get it. For example, given this as the batch file:
@echo off rem rem do_nothing.bat <SrcDir> <DstDir> <ProcID> rem echo Source Dir: '%1' >D:\MYTEMP\JOB.OUT echo Dest Dir : '%2' >>D:\MYTEMP\JOB.OUT echo Process # : '%3' >>D:\MYTEMP\JOB.OUT
So if your job starts the batch file properly, then after it executes, you should find the file D:\MYTEMP\JOB.OUT containing the argument values you passed in. So is your difficulty on the DOS/Win batch file side or in starting the job?
When your only tool is a hammer, all problems look like your thumb.
|Replies are listed 'Best First'.|
Re^4: Direct Connect Question
by Anonymous Monk on Feb 02, 2011 at 20:14 UTC
by roboticus (Chancellor) on Feb 02, 2011 at 20:18 UTC
In Section Seekers of Perl Wisdom