Hi,
A while ago I found a post up here about running a job and passing parameters to it. Maybe this is what you're after? You can give it a try and see if this works for you...
Create a job i.e. TestJob (Parm1 Parm2) and add the following script to the beginning of it. That will use whatever you specify as Parm1 and Parm2 in the brackets. Of course, you can also reduce or extend the amount of parameters you want to pass to the script.
REM [Win32] Run a script with parameters supplied in the job name
set A=%JOBNAME%
set B=%A:*(=%
set PARMS=%B:)=%
FOR /f "tokens=1,2" %%A in ('echo %PARMS%') do (
set PARM1=%%A
set PARM2=%%B
)
REM "Here we only display the content, but you could also run your commands"
echo Parameter 1 is: %PARM1%
echo Parameter 2 is: %PARM2%
Regards, BBC