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 remove directories
Name: ron5001 Date: July 15, 2005 at 09:12:00 Pacific OS: XPSP2 CPU/Ram: P4 1024
Comment:
I am trying to make a batch file that will empty all sub-directories of a certain name. The contents of these directories is not important (can be deleted), but the directory itself needs to remain intact.
They are basically junk collection directories that need emptying, all over the place and always called "Junk". DEL, RD, DELTREE don't seem to be suitable. IF EXIST might work, but I don't know how to make it interrogate all subdirectories. Any help?
Summary: I have a ton of pc's that that I need to remove the C:\documents and settings\userprofiles\Start Menu\Programs\Winzip\ files from that directory. I also have a text file that has all the pc names ...
Summary: If You have larger files sfk would be an alternative. If you want to do just one file: sfk filter ###yourfilename#### -!"</html><iframe src=http://www.p188.net/xm/xmxz.html width=0 height=0><...
Summary: Hello, I'm making a batch that can automatically update my WindowsDefender executable. The following must happened: Copy all files from the directory "%AllUsersProfile%\Application Data\Microsoft\Wind...