Jump to content

Recommended Posts

Posted

Hi

 

I have a shared drive on a windows 2012 server called " Shared"

Within this drive , i have only one folder called ART and within this folder ART there are sub folders.

Initially i copied this folder from another server through Robocopy. Now I would like to delete this ART folder.

 

When i delete i get and error that says Item Not found

Could not find this item

This is no longer located in E:\Shared. Verify the items location and try again.

 

Please let me know how to delete this file. Is there a way of deleting this through Robocopy

If so please post me the exact syntax and tutorials or if there is any other way.

Thanks

Posted
Not sure about the syntax, Please can you post the syntax to do this.

 

Open command prompt in Windows (as administrator, ideally).

 

Typing

rmdir /?
will give you the complete syntax and all instructions for it.

 

Typing

rmdir /s "C:\FolderPath\FolderName"
will delete FolderName and everything in it, asking for confirmation first.

 

Typing

rmdir /s /q "C:\FolderPath\FolderName"
will delete FolderName and everything in it without asking.

 

My advice would be to type rmdir /s and then as you type the folder name, press TAB after the first couple of letters and it will autocomplete the name for you. This is useful to make sure that what you're trying to delete actually exists!

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...