Delete a folder with a long name

  • Thread starter Thread starter Jose Morera
  • Start date Start date
J

Jose Morera

I have a directory in root (C:\) with a sub-folder with a
very long name.... and now I can't delete it, neither to
rename it

How can I delete this folder?
 
Start a Command Prompt, then issue this command:

dir /x

This will give you both the short and the long folder name.
To delete the folder, do this:

rd /s xxxx

where xxxx is the short folder name.
 
Hi,

I hope its not a Shared folder, You need to also recheck whether the
subfolder are on sharing or not, Because this can be one of the issue
hwere you wont be able to renname or delete it.

You need to verify Permission also.

Thanks and Regards


Mohinder Verma "Mehar"
(e-mail address removed)



This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top