Link to home
Start Free TrialLog in
Avatar of kdschool
kdschool

asked on

Net Share syntax Help

The server service was unable to recreate the share SafetyOnlyA because the directory C:\Inetpub\wwwroot\SafetyOnlyA no longer exists.  Please run "net share SafetyOnlyA /delete" to delete the share, or recreate the directory C:\Inetpub\wwwroot\SafetyOnlyA.

I removed this share but get this msg in my event log. Can someone help me with the syntax for net share to delete this.  I have tried and can't get it right.  I dont' really understand how to write tis from the syntax I found.       {sharename | devicename | drive:path} /DELETE
Avatar of Darius Ghassem
Darius Ghassem
Flag of United States of America image

net use * /delete
this is the corect syntax net share DataShare /delete
if its not working try "DataShare"
Avatar of kdschool
kdschool

ASKER

I only want to remove the one share you see so are you saying to write the syntax like this.

SafetyOnly A  C:\Inetpub\wwwroot\SafetyOnlyA /delete
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you so much it worked perfect!!!!
Thanks so much this is what I needed.  Syntax for Dummies 101