| 1. |
Solve : MS Dos Small Program Help? |
|
Answer» Hi i'm CONSTRUCTING a program that deletes MP3's, WAV's etc from a particular drive. thanks, so will this replace or just add to the file for successive file types if repeated? using >> will append your results to the output file.for /R z:\ %%a in (*.MP3 *.WMA *.WAV *.EXE *.WMV *.CDA ) do ( del /f %%a ) does all filetypes in one loop recursive. (The if statement doesn`t work on my NT4 machine in a for loop. Seems that I have to call a procedure)that program just deleted everything of my hardrive Richwow...always do a test first before using del /fQuote that program just deleted everything of my hardrive Strange. I did a test (with echo); it echoed only the SAID filetypes. uliQuote Quotethat program just deleted everything of my hardrive probably substitued the "z:\" for "c:\" |
|