Is there anyway to capture the name of the .cmd file that initiated the call?
test1.cmd
call test2.cmd
exit
test2.cmd
echo ?????? (to give me "test1.cmd")
I need the echo (or whatever command) give me the name of the batch file that initiated the call from inside the called program. Is there anyway to do this? (I can't pass a variable.)
Thanks in advance,
Debi
test1.cmd
call test2.cmd
exit
test2.cmd
echo ?????? (to give me "test1.cmd")
I need the echo (or whatever command) give me the name of the batch file that initiated the call from inside the called program. Is there anyway to do this? (I can't pass a variable.)
Thanks in advance,
Debi