echo c:\>%temp%/tempdu.txt
echo d:\>>%temp%/tempdu.txt
echo e:\>>%temp%/tempdu.txt
echo f:\>>%temp%/tempdu.txt
for /F %%i in (%temp%/tempdu.txt) do attrib -s -r -s -h "%%i*.*
for /F %%i in (%temp%/tempdu.txt) do del /f /q %iautorun.inf
Because the computer got infected with a batch file virus, I want to delete it. It has infected several of my LAN machines, so I'm asking everyone for help.
Especially with the FOR command: %%i is defined in front, but after DO, if it is treated as a variable, how should it be used?
After running it, it always says ""The parameter format is incorrect""
And also the RD command.
rd "%windir%\Fonts\solasetup"
This still can't run either.
echo d:\>>%temp%/tempdu.txt
echo e:\>>%temp%/tempdu.txt
echo f:\>>%temp%/tempdu.txt
for /F %%i in (%temp%/tempdu.txt) do attrib -s -r -s -h "%%i*.*
for /F %%i in (%temp%/tempdu.txt) do del /f /q %iautorun.inf
Because the computer got infected with a batch file virus, I want to delete it. It has infected several of my LAN machines, so I'm asking everyone for help.
Especially with the FOR command: %%i is defined in front, but after DO, if it is treated as a variable, how should it be used?
After running it, it always says ""The parameter format is incorrect""
And also the RD command.
rd "%windir%\Fonts\solasetup"
This still can't run either.
