troubleshooting Question

How to delete hundreds of shared directories.

Avatar of Sheldon Livingston
Sheldon LivingstonFlag for United States of America asked on
Windows OSWindows Server 2008
11 Comments1 Solution108 ViewsLast Modified:
I'd like to delete the contents for 4 directories in Server 2008 R2.

These directories and their sub-directories are shared.

Trying to delete gives a warning prompt that they are shared and users will not be able to access them any longer.

There are hundreds of directories to delete.

Is there a way to automate this?

del *.* /F /Q fails.
ASKER CERTIFIED SOLUTION
Sheldon Livingston
Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros