I have a batch file which has 2 input argument.
This batch file calls another vbscript where again 2 parameter needs to be passed. This parameter is modified value of the one that are passed to batch file.
I have different version of application i.e. 110, 120, 130, 200,210,220 etc.
I have batch file test.bat and vbscript as test.exe.
(1) Run batch file 'test 130 210'
(2) convert this 130 = v1_30 and 210 = v2_10.
If my arguments were 200 and 220 then v2_00 and v2_20
(3) Run vbscript as 'test.exe v1_30 v2_10'.
Note: 'v?_??' is the path of code and i don't want to enter this as argument.
If above is not clear kindly let me know.
I tried below but no success
REM xcopy c:\RTVideo\* c:\RTvideo1\
ECHO You are about to execute 520 build
ECHO Want to Continue? If not than Press Ctrl + C, Y and Enter. Else only Enter.
REM To check whether source folder exists or not?
ECHO Parameter is not correct %1
ECHO Start Second Parameter
ECHO Parameter passed is incorrect
Note: i don't want to use system variable.