The DOS I learned was DOS 3.1 back when I was in school, so I don't know it very well. I downloaded a batch file guide from the forum, and I was very interested in this FOR command line: "for /f %a in (TODEL.txt) do del %a". But when I tried it, the system reported "syntax error".
for /f %%a in (kivifi.txt) do del %%a
for /f %a in (c:\kivifi.txt) do del %a
for /f %%a in (c:\kivifi.txt) do del %%a
All three commands above give a "syntax error". I don't know where the problem is. Please give me some pointers, experts. Thanks!
for /f %%a in (kivifi.txt) do del %%a
for /f %a in (c:\kivifi.txt) do del %a
for /f %%a in (c:\kivifi.txt) do del %%a
All three commands above give a "syntax error". I don't know where the problem is. Please give me some pointers, experts. Thanks!
