ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 08-13-2007, 12:22 PM   #1 (permalink)
New Member
 
Join Date: Aug 2006
Posts: 22
Default Removing Folders and Files

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.
reubenb is offline   Reply With Quote


Old 08-13-2007, 05:58 PM   #2 (permalink)
Bronze Member
 
Join Date: Aug 2007
Posts: 33
Default

Quote:
Originally Posted by reubenb View Post
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
LaRoza is offline   Reply With Quote
Old 08-14-2007, 09:48 PM   #3 (permalink)
Gold Member
 
addle_brains's Avatar
 
Join Date: Feb 2007
Location: Highfields, QLD, Australia
Posts: 304
Default

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.
__________________
ASUS P5K Deluxe /Wifi API
Intel Core2 Duo E6750@3.37GHz
2 x 1Gig 667 RAM
Inno3D iChill Nvidia 8600GTS XStriker3
2 x Seagate 250Gig SATA HD
Samsung DVD-RAM
Thermaltake Beetle CPU cooler
Thermaltake 850watt Toughpower
CoolerMaster Mystique Silver Aluminium Case
addle_brains is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista: Force full time admin privileges on all files / folders / operations? audiobahn1000 Operating Systems 1 08-10-2007 05:16 AM
locking files (not folders) patrickv Off Topic Chat 13 04-13-2007 05:30 PM
unable to turn on show hidden files and folders wlau Operating Systems 5 01-08-2007 06:39 AM
HELP>>Transferring files and folders 2 nu computer michaeltoddpalmer Computer Memory and Hard Drives 3 03-05-2006 08:04 AM
Files, Folders and Fury... magicman Operating Systems 2 11-15-2005 07:52 PM


All times are GMT +1. The time now is 08:38 AM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum