For /F "tokens=* delims=" %%A in (%dr%\adirm.txt) Do (
del adirm.txt & ren tmp.3 adirm.txt
%par2% is C:\WINDOWS\TEMP
So, in adirm.txt, when I remove the line C:\WINDOWS\TEMP using the above code, in its place shows up: Echo is off. when there shold be nothing in its place. How can I fix this? Thank you.