I'm trying to set a variable contains filename like;
Code: Select all
SET %~n1_var=(%~z1)
or
SET /a %~n1_var=(%~z1)
But when it comes to call back, even I couldn't test is it set or not like;
Code: Select all
ECHO "%%~n1_var%"
or
ECHO "%~n1_var%"
I tried many combinations (like an idiot) but none of them work.
Is there a way to handle it?
All bests
Evren