1

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?

aschipfl
  • 33,626
  • 12
  • 54
  • 99

0 Answers0