3

Hi ya'll I have a folder on my desktop called 'prn' and when I try to delete it, I get this message "this is no longer located in C:\Users\username\Desktop Verify the item's location and try again."

I open my command prompt and tried to get to that folder and this message comes up 'The system cannot find the path specified'

How do I delete this folder?

6

PRN is a reserved name, so to delete you must use the UNC, (in command prompt)

C:\>rd \\.\<drive letter>:\<dir>

Example:

rd \\.\c:\john\desktop\prn

[ ::: source ::: ]

  • Just a side note. I tried this in Powershell and it didn't work, but it did work in the good ol' command prompt. – Bram Vanroy Sep 25 '17 at 12:53
  • Remember to enclose your path in quotes if any directories have spaces in their name. – snark Dec 5 '18 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.