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?

1 Answer 1

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 ::: ]

2
  • 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .