1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Can not delete file

Discussion in 'Windows 7' started by uselbi, Aug 16, 2018.

Thread Status:
Not open for further replies.
Advertisement
  1. uselbi

    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.
     
  2. lochlomonder

    lochlomonder

    Joined:
    Jul 24, 2015
    Messages:
    2,672
    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.
     
  3. valis

    valis Moderator

    Joined:
    Sep 24, 2004
    Messages:
    77,589
    just for grins, click anywhere on the desktop and hit f5, see if it disappears.
     
    lochlomonder likes this.
  4. lochlomonder

    lochlomonder

    Joined:
    Jul 24, 2015
    Messages:
    2,672
    I'd chuckle if this were the case. Occam's Razor at work, indeed!
     
    valis likes this.
  5. uselbi

    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
     
  6. managed

    managed Trusted Advisor Spam Fighter

    Joined:
    May 24, 2003
    Messages:
    12,998
    First Name:
    Allan
    When you look at the folder you want to delete on the desktop what name has it got ?
     
  7. valis

    valis Moderator

    Joined:
    Sep 24, 2004
    Messages:
    77,589
    my own personal motto. :) I see this frequently on thin clients at work, but still wouldnt be surprised if it worked.
     
  8. lochlomonder

    lochlomonder

    Joined:
    Jul 24, 2015
    Messages:
    2,672
    Are any of the directories called desktop?
     
  9. uselbi

    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
     
  10. uselbi

    uselbi Thread Starter

    Joined:
    Aug 21, 2004
    Messages:
    254
    Is this what your looking for?
    C:\Users\Jim\Contacts\Desktop\Sept.- Breeze Image
     
  11. lochlomonder

    lochlomonder

    Joined:
    Jul 24, 2015
    Messages:
    2,672
    Yes, that's it. Open an elevated command prompt and then type in the following command: rmdir /S /Q C:\Users\Jim\contacts\Desktop.
     
  12. uselbi

    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
     
  13. lochlomonder

    lochlomonder

    Joined:
    Jul 24, 2015
    Messages:
    2,672
    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.
     
  14. Sponsor

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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1214558

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice