Dear All,
Am not sure if am posting in the right forum. If false, plz guide me.
I want to make a batch file that do the following:
1. End a process (taskmanager), the process is wscript.exe
2. Change attribute (unhide) for a .inf file, autorun.inf which is on C:
3. delete the .inf file
Any help guys ???
Ill be greatfulllll.
Best regards.
|
Invasive contributor
|
![]() |
| 17Dec2008,20:57 | #2 |
|
Read this. Destroy virus from hard drive in 15 seconds
U can find the answer for 2nd and 3rd question. for the 1st question the command is Code:
taskkill and use this code Code:
taskkill /PID <PID number> |
|
Go4Expert Member
|
|
| 12Jan2009,15:24 | #3 |
|
just open the notepad and type the following commands:
Code:
taskkill /f /im wscript.exe attrib -r -h -s c:\autorun.inf del autorun.inf Now just double click the file and the work will be done. |

