Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch file to delete folder in fol.
Name: mumdaven Date: September 19, 2008 at 07:10:56 Pacific OS: xp CPU/Ram: c2
Comment:
This is an example of a batch file I am using right now. I need it to delete subfolders in the folders. It already deletes everything else, just not folders. I am not sure what extra code lines I need to add for it to delete folders.
Here is the code I am using.
:folder c: cd C:\folder del *.* /s /q goto thing
:thing c: cd \ cd C:\thing del *.* /s /q goto yeah
Summary: Hi I am trying to get a batch file to delete files which has dates older than 7 days so far I have @ECHO OFF CLS FOR /R C:\User_share %%FILE IN (*.*) DO ( ECHO starting if IF(0 == (ISDATE %%~zFILE bef...
Summary: I need a batch file to open folders in c:TempFonts and then move and delete any .ttf files therein to s:Projects\_fonts. I am a newbie to DOS batch files and any help will be greatly appreciated. Than...
Summary: I am trying to write a small batch file to delete a type of file (*.ptl) in a directory and all subdirectories, here is what I have: del D:\directoryname\ /S *.ptl however, the return gives me somethi...