Removing Folders and Files

reubenb

New Member
We have a folder C:/Documents and under this document we have alist of folders per employee, example C:/Documents/Joseph and C:/Documents/Ann etc. Now we need to remove all the files and folders that are found in the emplyees folders. Is there a software or script that can do this? Also there are 2 folders that I must not delete the subfolders for them. Is there something?

Thanks.
 
We have a folder C:/Documents and under this document we have alist of folders per employee, example C:/Documents/Joseph and C:/Documents/Ann etc. Now we need to remove all the files and folders that are found in the emplyees folders. Is there a software or script that can do this? Also there are 2 folders that I must not delete the subfolders for them. Is there something?

Thanks.

Yes, open a command prompt, and type:

Code:
del c:\Documents\*

Before doing this, you might want to move the two folders you don't want to loose. If there is a different in names, you could be more specific, like if the two you want to keep have shorter names than the shortest ones you do want to get rid of.

THE ABOVE COMMAND WILL DELETE EVERYTHING IN THE C:\Documents\ DIRECTORY
 
Do you want to clean out the entire Documents folder or just the data in the folders?

At your workplace, do you have heaps of employees? If so, when you go to recreate those directories, you can use this tool called MakeDirectory. Makes it heaps easier to create directories. Get it here.
 
Back
Top