How to delete a shortcut to a URL address on desktop


  1. Posts : 34
    Windows 10
       #1

    How to delete a shortcut to a URL address on desktop


    My mom somehow ( I have no clue how), placed a shortcut icon on the desktop of her computer. I can't delete it. I can't rename it, I can't move it. I tried deleting in safe mode......no good.

    when clicking "properties", it shows the type of file as "Internet Shortcut (.url) The name of the file is several website url's together.

    How the heck did she do this?? lol

    Is there someway to force delete it with command prompt, or maybe Windows Powershell?

    thanks
    How to delete a shortcut to a URL address on desktop-capture7.jpg
    Attached Thumbnails Attached Thumbnails How to delete a shortcut to a URL address on desktop-capture.jpg  
      My Computer


  2. Posts : 4,909
    Windows 11 Pro 64 Bit 22H2
       #2

    Browse to C:\Users\Darlene\Desktop and delete it from this folder. You may need to change the permissions to this folder to allow you to delete it.
    You can also use a File Unlocker app LockHunter is a free 64/32 bit tool to delete files blocked by any processes
      My Computer


  3. Posts : 34
    Windows 10
    Thread Starter
       #3

    spunk said:
    Browse to C:\Users\Darlene\Desktop and delete it from this folder. You may need to change the permissions to this folder to allow you to delete it.
    You can also use a File Unlocker app LockHunter is a free 64/32 bit tool to delete files blocked by any processes
    Doesn't work going through the path C:\Users\etc......... tried it. I also tried turning off Webroot antivirus just incase that was protecting it. No good.

    - - - Updated - - -

    I've tried deleting using command prompt and the RMDIR /S /Q command.... no good
    I tried using Windows Powershell using the Remove-Item -Recurse -Force command ..... no good

    When trying the Command Prompt method, it showed many " the system cannot find the file specified" message
    How to delete a shortcut to a URL address on desktop-testtest.jpg
      My Computer


  4. Posts : 923
    Windows 10 Pro 64bit 22H2 19045.3324
       #4

    Wax Bean Tycoon said:

    When trying the Command Prompt method, it showed many " the system cannot find the file specified" message
    I've had this happen before too after unintentionally dragging something from the browser window onto the desktop.

    Typically it's a URL or a JPG with a crazy long file name that the Windows Command prompt balks at, even with attempts to rename.


    Nowadays I don't waste anymore time on them and just boot to a LINUX distro USB drive where I then go to the file path for my desktop and delete it easily.

    If you don't have a bootable LINUX distro USB in your tool kit it's worth taking the time to make one. Pretty easy really. I went here and followed the directions:


    Download Linux Mint 21.3 - Linux Mint
      My Computers


  5. Posts : 34
    Windows 10
    Thread Starter
       #5

    Holy crap I did it! I was able to do it with 7-zip. I just stumbled upon the solution (happens all the time with computers)

    I had read that by compressing and using the option of deleting the original file after compression , might get rid of the undeletable file (or in this case shortcut). However, I couldn't right click and use 7 zip on the shortcut.

    I opened 7-zip directly, but couldn't add the shortcut for compression. However, I did a computer search for the name of the shortcut (in the desktop folder) and the search result WAS able to be right-clicked and compressed/deleted.

    Crazy stuff, but somehow it worked. Perhaps there is some slight difference in the properties, or options to do things to a file or folder when it appears in a search result, compared to trying to manipulate that file or folder directly. Who knows. but it worked lol

    Thanks for the replies guys !
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:31.
Find Us




Windows 10 Forums