Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Empty Directories

Status
Not open for further replies.

acroniscronie

IS-IT--Management
Sep 25, 2003
22
GB
I've been messing about (evaluating) with NSI Double-Take software and have been able to create an infinite directory structure between two windows 2000 servers.

I've switched off the replication from Double Take and have attempted to delete the files that were duplicated in error in the directory structure.

I was able to do a ATTRIB -h -s -r -a before completing a DEL *.* /s /q but I'm unable to remove the empty directories.

Does anyone have any ideas on how I can remove this large (APPARANTLY EMPTY) directory structure.

If I use the explorer GUI to view the directory structure I get an error message detailing that the volume information wasn't found when i press the delete key.

All comments appreciated.
 
It is possible the directories were deleted, just that the servers do not reflect this fact as of yet. If you have deleted a large number of directories I would guess there is a good chance this is the case.

Either wait, or reboot the server.
 
Thanks for replying so quick bcastner.

Unfortunately I've bounced both of the affected servers and the "rogue" directory structure still exists on each one.

 
If you could not RD in a DOS box it may be that the ownership of the directories is under the local NT/Authority and the local Administrator does not have priviliges.

So assert ownership, then delete. Note: the below is for XP but ignore that fact):
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top