i wonder if it is possible to echo/print or save two %% character sign in a txt file.
i tried this one
echo FOR /f "delims=" ^%%p IN ('dir /b /s *.info') do ( > D:\Desktop\sample.txt
but the output is this
FOR /f "delims=" %p IN ('dir /b /s *.info') do (
only one modulo sign is being written to my txtfile.
i expected to be like this
FOR /f "delims=" %%p IN ('dir /b /s *.info') do (
i hope it is possible because i want to create a batch file using a batch file too.