This is a part of my code
echo for /f "tokens=*" %%A in ('dir /b') do (>>test.bat
When I executed it, it input:
for /f "tokens=*" %A in ('dir /b') do (
into the 'test.bat' file.
I was expecting %%A to be input. How can I do it?
This is a part of my code
echo for /f "tokens=*" %%A in ('dir /b') do (>>test.bat
When I executed it, it input:
for /f "tokens=*" %A in ('dir /b') do (
into the 'test.bat' file.
I was expecting %%A to be input. How can I do it?