Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

Why Did Deleting a Desktop Icon Delete the Program?

Question: I have always understood that deleting an icon from your desktop does not remove the installed program. I did a little clean up and deleted the Windows Live Mail icon, cleaned out the trash can and noticed my error, went looking for my program, no such item on the list, any idea what could have gone astray?

The Windows desktop can be a convenient place to keep frequently-used icons.

However, those icons can reference things in either of two very different ways, and understanding the difference is critical when you’re about to delete one.

Become a Patron of Ask Leo! and go ad-free!

Shortcuts

A shortcut to a file allows you to treat a file stored on your computer as if it were somewhere else.

For example, if you have a document in your Downloads folder, you can create a shortcut to it in any other folder on your computer. Double-click on either and you’ll open the document.

Shortcut Example

In the example above, there is a single document — “InternetSafety-v4-Free.pdf”. It’s been placed in the “Downloads” folder, perhaps after being downloaded from somewhere.1

I’ve placed a shortcut to the document in the Documents folder. (There are several ways to create a shortcut. In this case, I right-clicked on the file in the Downloads folder, clicked “Copy”, navigated to the Documents folder, right-clicked in an empty area, and clicked on “Paste Shortcut”.) The shortcut effectively says, “I represent this file, but it really lives over there in that other folder.”

Double-clicking on either the shortcut or the actual document will open the document.

Different things happen when you delete shortcuts than when you delete documents.

  • Delete the shortcut (in Documents, our example) and the original file remains.
  • Delete the original file (in Downloads, above) and the shortcut no longer works.

Shortcut to Deleted File

If you look closely at the icons associated with the file and its shortcut, you’ll notice they’re ever so slightly different.

The icon for the original file:

Icon for a file

The icon for the shortcut:

Icon for a shortcut

Note that the icon for the shortcut includes a small turned arrow in the corner. Depending on the icon size and context, the arrow might overlay or obscure a portion of the file’s icon.

The desktop is really just a folder

The collection of icons on your computer’s desktop is nothing more than a view of a specific folder: your Desktop folder. Aside from the contents of that folder being displayed as your desktop, there’s nothing terribly unique about it.

Like any folder, it can hold files, or shortcuts to files.

Here’s a portion of a desktop with both:

Desktop Icons

The two items shown are:

  • A PDF document stored on the desktop.
  • A shortcut to an image stored elsewhere.

Deleting the icon for the document will delete the document. Deleting the icon for the shortcut will remove only the shortcut and leave the original file in its original location.

This highlights something else important: the word “shortcut” needn’t be displayed in the name. The file labeled “sunset.jpg” is a shortcut, as indicated by the small turned arrow, even though it doesn’t include the word “shortcut” in the name.2

So, what happens when you delete something from your desktop depends on what that something is. If it’s a shortcut to a file — as the desktop was originally intended to contain, and what most setup programs create — then you’ve only deleted the shortcut. If it’s an actual file, you’re deleting the file.

Bonus: folders and shortcuts to folders

One of the ways I like to keep my desktop from getting cluttered is to place as few icons to files as possible on it. But it can still be a handy place to keep shortcuts I access often. One compromise is to use folders.

Folders on the Desktop

In the example above, I have two folders on my desktop.

  • The folder on the left, “Documents”, is a shortcut to the Documents folder in my user account. Once again, I just right-clicked on the original Documents folder and clicked “Copy”, then right-clicked on my desktop and clicked on “Paste Shortcut”.
  • The folder on the right is a sub-folder within the desktop folder. To create it, I right-clicked on the desktop, clicked “New” and then “Folder”, and then gave it the name “Working Documents”.

Double-clicking either opens Windows File Explorer on the desired folder.

Rather than cluttering my desktop with lots of icons, I find folders a convenient way to wrangle the chaos.

Whether you use folders, icons or shortcuts, understanding exactly which is which will help you understand exactly what it is you’re about to delete.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

Podcast audio

Play

Video Narration

Footnotes & references

1: It’s a free sign-up bonus for subscribing to The Ask Leo! Newsletter, if you’re interested in a copy. Smile

2: There are techniques to remove the turned arrow from the icon as well, though it’s typically a system-wide setting. When set, the only way to determine the difference for certain is to right-click and check the properties for the item in question.

11 comments on “Why Did Deleting a Desktop Icon Delete the Program?”

  1. Is there any way in Windows 7 Home Premium 64-bit, that I could change that “shortcut arrow” into something a little less conspicuous? (Like a smaller, or semi-transparent, arrow maybe?)

    Reply
  2. It would seem to be a better idea to keep any programs in the “All Programs” folder rather than on the desktop/in desktop folder, and simply make a desktop shortcut to same.

    Reply
    • “It would seem…”, in my experience, rarely includes people’s varied and inexplicable reasons for putting all sorts of stuff on their desktop.

      Reply
  3. Sometimes users will move the shortcut from the Start Menu to the desktop. If they delete the shortcut from the desktop, they no longer see the shortcut in the start menu, and think they deleted the program, since they can’t see the shortcut in either spot. The program is still where it was originally, but you just don’t know how to get to it. For instance, the shortcut to the Excel Program is stored in [C:\ProgramData\Microsoft\Windows\Start Menu\Programs] on some systems. But the program itself is stored in the following location on some systems. “C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE”

    So – in other words, if you delete all the shortcuts, you can still look for the Excel.exe and create a new shortcut to it. All is not lost.

    Reply
    • Windows 10 is easy. Just click Start and start typing the name of the program you want. No need for a messy desktop.

      Reply
  4. Running Windows 7 Home Premium 64 bit. I store all my programs that I downloaded into a folder named “PROGRAMS” under “Documents” e.g. Firefox, Thunderbird, 7zip, etc. Then as Leo states just right click the program > select “Copy” > goto Desktop and right click and select “Paste Shortcut.”

    Reply
  5. I don’t have any icons on the Desktop except for the Recycle Bin and that’s because Windows forces me to have it there. Any programs or folders I use frequently go on the Task Bar and any files I use frequently are pinned to the associated program in jump lists. I wish I could keep the wooden desktop my computer sits on that clean :-) .

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.