Bat file creation

June 3, 2009 at 03:37:48
Specs: Windows XP

I need to create a batch file through which i can delete the files useing a text file that is having all the file names which needs to deleted.
pls help

See More: Bat file creation

Report •

June 3, 2009 at 04:03:36
@for /F "delims=" %%j in (FileList.txt) do @del "%%~j"

FileList.txt must hold one file name on each line with full path name, e.g.

C:\Documents and Settings\My Data\File001.doc
D:\test\Examples\Pictures\Image HK.jpg

Report •
Related Solutions

Ask Question