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?

1 Answer 1


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

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


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. Sep 25, 2017 at 12:53
  • Remember to enclose your path in quotes if any directories have spaces in their name.
    – snark
    Dec 5, 2018 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.