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 del files and folder
Name: Shilee Date: June 19, 2008 at 19:26:14 Pacific OS: win xp CPU/Ram: 3.2/512 Product: dell
Comment:
I wanna delete all files and sub folders in the folder. Any1 can help?
Name: wizard-fred Date: June 19, 2008 at 22:58:52 Pacific
Reply:
One method is to delete the folder and then recreate it.
0
Response Number 2
Name: Shilee Date: June 19, 2008 at 23:24:03 Pacific
Reply:
I thought about it too but after del and recreate it, I have to add permission for users of this folder again, so I dont wanna do it. any1 can help?
0
Response Number 3
Name: toast (by NoIdea) Date: June 20, 2008 at 01:19:54 Pacific
Reply:
Is this what you want?
RD C:\Path /S /Q RMDIR C:\Path /S /Q
/S = Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q = Quiet mode, do not ask if OK to remove a directory tree with /S.
0
Response Number 4
Name: Shilee Date: June 20, 2008 at 01:24:18 Pacific
Reply:
no, I only want delete files and sub folders in this folder not delete this folder
0
Response Number 5
Name: toast (by NoIdea) Date: June 20, 2008 at 02:15:11 Pacific
Reply:
Possibly?
C:\>cd \Your main\Next So now in C:\Your main\Next>rd Your file /s
Summary: rename files and folder to lowercase with batch codes ================================================ hi guys i searched this site and found a batch code for rename all files in current folder ...
Summary: I'm looking for a way to enumerate all the files and folders in a given directory using C++ (Visual C++ 6 specifically) in Windows. Looked online, but haven't found anything that will work. Does anyon...
Summary: I'm using MS C#. Currently I'm only able to make the program retreive picture files from a certain folder I've designated. If any user were to delete some of the pictures or rename the folder, etc, th...