Windows 10: How can I use a relative path for a shortcut icon?

Discus and support How can I use a relative path for a shortcut icon? in Windows 10 Ask Insider to solve the problem; I have some shortcuts with custom icons on a flash drive, and I’d like them to retain the custom icons even when the drive letter changes. I made the... Discussion in 'Windows 10 Ask Insider' started by /u/vegetariouscarnivore, Mar 1, 2020.

  1. How can I use a relative path for a shortcut icon?


    I have some shortcuts with custom icons on a flash drive, and I’d like them to retain the custom icons even when the drive letter changes. I made the functional (shortcut) part work no matter the drive letter, but the icon is bugging me. The icon is nonstandard and is contained in the drive. Ideas?

    Also posted to r/windows

    submitted by /u/vegetariouscarnivore
    [link] [comments]

    :)
     
    /u/vegetariouscarnivore, Mar 1, 2020
    #1

  2. Creating Shortcuts with Batch File

    Threw a program together quick for you. It is attached with source in the other. Use it in place of your VBScript.

    It supports:
    CreateShortcut [save shortcut] [path to run]
    CreateShortcut [save shortcut] [path to run] [icon index]
    CreateShortcut [save shortcut] [path to run] [icon file]
    CreateShortcut [save shortcut] [path to run] [icon file] [icon index]

    If "icon index" is missing, it assumes 0. If "icon file" is missing it assumes "path to run." It doesn't presently support arguments to be added to the shortcut nor modifying the working directory (always assumes same directory as "path to run").

    Requires .NET Framework 4.0 to run. Will run natively on 32-bit and 64-bit versions of Windows.
     
    FordGT90Concept, Mar 1, 2020
    #2
  3. Desktop Shortcut Icons

    Hi Mik-Dav,

    The desktop shortcut created for a specific website should bear the website's actual logo. With what you've experienced, there could be something wrong with how the shortcut was created.

    If you've created the shortcut by selecting Create shortcut, then we suggest that you try the other way, that is by dragging the website icon that appears in the address bar to your desktop. Follow these steps:

    • Using Internet Explorer, access a website.
    • Once the website opens, you will see its icon in the address bar.
    • Click and drag the icon on your desktop.

    The website shortcut bearing its actual logo should now be saved on your desktop.

    Let us know if you need further help.

    Regards.
     
    Vanessa Yar, Mar 1, 2020
    #3
  4. How can I use a relative path for a shortcut icon?

    Blank shortcut icon GPU-Z

    I know I am quite late but as I was scrolling through I saw this post which happened to one of friend too. This sometimes happens with Windows. Usually a reboot will solve the problem. However if this doesn't, try setting the icon for the shortcut(right-click pinned icon, right-click program, left-click properties, select "change icon...") or refreshing it by switching to a different icon, applying it, and then reverting back to the original icon. Remove the shortcut from the taskbar and replace it with the start menu shortcut or simply drag the .exe file to the taskbar.
     
    lorraine walsh, Mar 1, 2020
    #4
Thema:

How can I use a relative path for a shortcut icon?

Loading...
  1. How can I use a relative path for a shortcut icon? - Similar Threads - relative path shortcut

  2. How can I get a shortcut path for Whatsapp?

    in Microsoft Windows 10 Store
    How can I get a shortcut path for Whatsapp?: How can I get a working shortcut path for WhatsApp. I want to use an app launcher for all my apps and for the launcher I need to edit 'user settings' file and add paths to app execution files.With other apps I have managed to do this since I had shortcuts for them on my...
  3. How can I get a shortcut path for Whatsapp?

    in Windows 10 Gaming
    How can I get a shortcut path for Whatsapp?: How can I get a working shortcut path for WhatsApp. I want to use an app launcher for all my apps and for the launcher I need to edit 'user settings' file and add paths to app execution files.With other apps I have managed to do this since I had shortcuts for them on my...
  4. How can I get a shortcut path for Whatsapp?

    in Windows 10 Software and Apps
    How can I get a shortcut path for Whatsapp?: How can I get a working shortcut path for WhatsApp. I want to use an app launcher for all my apps and for the launcher I need to edit 'user settings' file and add paths to app execution files.With other apps I have managed to do this since I had shortcuts for them on my...
  5. "Allowing the use of remote paths in file shortcut icons can expose users' computers to...

    in Windows 10 Gaming
    "Allowing the use of remote paths in file shortcut icons can expose users' computers to...: Hi all,Can you please help me with this?I'm troubleshooting a change that I'm having to implement for a Group policy issue with Windows 11 and I'd like to hear from you if this represents a security risk of any kind. If yes what would you recommend? The issue is some...
  6. "Allowing the use of remote paths in file shortcut icons can expose users' computers to...

    in Windows 10 Software and Apps
    "Allowing the use of remote paths in file shortcut icons can expose users' computers to...: Hi all,Can you please help me with this?I'm troubleshooting a change that I'm having to implement for a Group policy issue with Windows 11 and I'd like to hear from you if this represents a security risk of any kind. If yes what would you recommend? The issue is some...
  7. Relative Path Shortcut Opening New Window Upon Click

    in Windows 10 Network and Sharing
    Relative Path Shortcut Opening New Window Upon Click: I have created a relative path as I am separating our work structure into 4 sections, where we don't need to access the others folder. Where we have shared documents, I have created a relative path, because when copy and pasting the template folder, the shortcuts I have put...
  8. How can I make a specific shortcut for a control panel path?

    in Windows 10 Ask Insider
    How can I make a specific shortcut for a control panel path?: I know you can right click desktop > new > shortcut > "ms-settings:security" But I want it to take me to the control panel, specifically to this path: "Control Panel\System and Security\Security and Maintenance" Is this possible? Thanks! submitted by /u/thedreamlan6...
  9. Windows Relative Path Shortcut on USB drive

    in Windows 10 Ask Insider
    Windows Relative Path Shortcut on USB drive: Does anyone know how to create a relative shortcut on an USB drive linked to a different location on the same USB drive? This is needed because the drive letter can be different on another pc wich would lead to the shortcut being broken. submitted by /u/Initial_Meaning...
  10. Desktop shortcut with a path to"AppData" loses it's icon.

    in Windows 10 Support
    Desktop shortcut with a path to"AppData" loses it's icon.: path: C:\Users\name\AppData\Roaming\ For some reason any Desktop shortcut with a path to"AppData" loses it's icon. The first shortcut looks correct, but after a restart, it becomes blank even with: Properties> Change icon. 115123