Hi all I'm trying to know how to make a batch file that can search for an specific file then delete it, does anyone know how?
+ Reply to Thread
Results 1 to 2 of 2
-
-
from the root command prompt, type "del filename.ext /s"
For a batch file, substitute "%1" for the filename, save as KillAll.bat, usage "killall filename.ext". I'd add a first line of "cd\" to the batch file.
Or you could run a search, which will give you a list with locations and creation dates, and delete from there.
Similar Threads
-
Batch "file creation from a text file, Placed into a created directory
By Muther in forum ProgrammingReplies: 5Last Post: 24th Sep 2015, 18:29 -
How to download this specific SWF file
By Tbag in forum Video Streaming DownloadingReplies: 6Last Post: 11th Jan 2010, 11:12 -
Is image file software specific?
By coody in forum Authoring (DVD)Replies: 8Last Post: 18th Oct 2008, 17:39 -
Compressing to a specific file size?
By toxicquack in forum MacReplies: 6Last Post: 17th Oct 2008, 21:04 -
specific file size
By santino_avi in forum Video ConversionReplies: 4Last Post: 14th Jan 2008, 00:04