Solved I am trying to make a .bat file that will find and delete

June 28, 2013 at 18:40:40
Specs: Windows 7
I am trying to make a .bat file that can find and delete files. I am VERY new to this and need some help. I am doing this because a file got on my computer and copied a file and put it every where in almost every file. so that is why i would like to make a .bat file that can search and delete the file. The file has different names but the only thing that is the same is the .map at the end of the file name. Please help

See More: I am trying to make a .bat file that will find and delete

Report •


#1
June 28, 2013 at 19:33:55
✔ Best Answer
cd \
del /f /q /s /a *.map
::==== end
NOT TESTED - and, if viral files were generated, you can't depend on the extension to eradicate them all, you would have to examine file-contents. This should get rid of all .map files

Report •

#2
July 5, 2013 at 21:11:05
thank you nbrane it worked great and got rid of all the files that i wanted it to and i was able to set it to find the main file that a friend of mine put on my pc as a joke now just to get back haha thank you

Report •

#3
July 5, 2013 at 22:06:29
Ah. I recommend "viral stand-down". Escalation may not be friendly. Proliferation may be unpredictable ("hey, look, I just cooked your Os with the newest Trojan, Ha ha, kiss your files goodbye" while same virus is infecting about a hundred other people, including him). But, that's just me. Fine line between "spoofs" and "spooks".
Have Fun!

Report •

Related Solutions

#4
July 6, 2013 at 09:46:54
Ya thats a little higher then i want to get back at him. i think i will just put a shutdown program in his start folder. knowing him it will take him months to find it and get rid of it.

Report •


Ask Question