Can not delete file

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

uselbi

Thread Starter
Joined
Aug 21, 2004
Messages
254
I have window 7 and I get this message when I try to delete a empty folder on my desktop "This is no longer located in c:\user\jim\contacts\desktop. Verify the item's location and try again.
 

lochlomonder

Colin
Trusted Advisor
Spam Fighter
Joined
Jul 24, 2015
Messages
3,473
Here's what you need to do for some prep work...

  1. Hold down the Windows and R keys together to open up a dialogue box. Type in CMD to get the Command Prompt icon, and then open that.
  2. Within the command prompt, this should open to your user folder, so it should look like c:\user\jim. Type in cd\contacts and then hit the Enter key.
  3. The path should now look like c:\user\jim\contacts.
  4. Type in Dir *. (don't forget the period after the asterisk) and then hit the Enter key. Does anything show within the folder?
Usually, any files for the desktop would be stored, in your instance, within c:\users\jim\desktop, so I'm curious to see if there is a contacts folder and what, if anything, is stored in it.
 

uselbi

Thread Starter
Joined
Aug 21, 2004
Messages
254
lochlomonder thanks for your reply,
I followed your instruction and this is what I got:
Directory of c:\user\jim\contacts
Dir *
Dir **
Dir Desktop
0 files
3 Dirs


Note F5 nothing
 

managed

Allan
Moderator
Joined
May 24, 2003
Messages
15,068
When you look at the folder you want to delete on the desktop what name has it got ?
 

lochlomonder

Colin
Trusted Advisor
Spam Fighter
Joined
Jul 24, 2015
Messages
3,473
lochlomonder thanks for your reply,
I followed your instruction and this is what I got:
Directory of c:\user\jim\contacts
Dir *
Dir **
Dir Desktop
0 files
3 Dirs


Note F5 nothing
Are any of the directories called desktop?
 

uselbi

Thread Starter
Joined
Aug 21, 2004
Messages
254
It's empty but the search bar has this:
C:\Users\Jim\Contacts\Desktop\Sept.- Breeze Image
 

lochlomonder

Colin
Trusted Advisor
Spam Fighter
Joined
Jul 24, 2015
Messages
3,473
Yes, that's it. Open an elevated command prompt and then type in the following command: rmdir /S /Q C:\Users\Jim\contacts\Desktop.
 

uselbi

Thread Starter
Joined
Aug 21, 2004
Messages
254
lochlomonder,
I did it and it removed all the icons on my desktop along with the bad file so I restored the system without the bad file.Thank You
uselbi
 

lochlomonder

Colin
Trusted Advisor
Spam Fighter
Joined
Jul 24, 2015
Messages
3,473
My apologies for the unintended consequence of that command, but I'm glad you got it sorted. The default location for files on the desktop is c:\Users\username\Desktop, and I think the contacts folder in your setup threw me off somewhat.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top