Some shortcuts have no icons - Bug?
-
Kerry
- Posts: 7
- Joined: 29 May 2016 20:09
Some shortcuts have no icons - Bug?
I was browsing programdata/microsoft/window/start menu. Some of the shortcuts have no icons ,and when you click on them,it says cant find the path or something.if i use the regular windows explorer everythings fine.
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
-
Kerry
- Posts: 7
- Joined: 29 May 2016 20:09
Re: Some shortcuts have no icons - Bug?
XYplorer 16.80
Target: "C:\Program Files\JPSoft\TCMD19_x64\tcmd.exe"
It does it on two others as seen in the screenshot.
Target: "C:\Program Files\JPSoft\TCMD19_x64\tcmd.exe"
It does it on two others as seen in the screenshot.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Some shortcuts have no icons - Bug?
Your target links to the folder "C:\Program Files"
while it is resolved to C:\Program Files (x86) when you execute it... -> Error message, path does not exist
Where this comes from? Don't know. Can you zip your XYplorer.ini file and send it via e-mail (same address as in my signature)?
while it is resolved to C:\Program Files (x86) when you execute it... -> Error message, path does not exist
Where this comes from? Don't know. Can you zip your XYplorer.ini file and send it via e-mail (same address as in my signature)?
One of my scripts helped you out? Please donate via Paypal
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Some shortcuts have no icons - Bug?
This has nothing to do with XYplorer ini.
Kerry, it's because the shortcuts point to %ProgramFiles%\JPSoft\...
%programfiles% evaluates to "C:\program files" in 64-bit applications, but XYplorer is a 32-bit app and Windows tells it that %programfiles% == C:\program files (x86).
But there is no "C:\program files (x86)\JPSoft \..." Hence the missing icons and targets. Any 32-bit program is affected by this actually.
You can edit the shortcut properties to point to the absolute path without any %programfiles% env.vars.
On 64-bit systems, installers should use %programw6432% for C:\Program Files and %programfiles(x86)% for the other, but few follow this suggestion.
Kerry, it's because the shortcuts point to %ProgramFiles%\JPSoft\...
%programfiles% evaluates to "C:\program files" in 64-bit applications, but XYplorer is a 32-bit app and Windows tells it that %programfiles% == C:\program files (x86).
But there is no "C:\program files (x86)\JPSoft \..." Hence the missing icons and targets. Any 32-bit program is affected by this actually.
You can edit the shortcut properties to point to the absolute path without any %programfiles% env.vars.
On 64-bit systems, installers should use %programw6432% for C:\Program Files and %programfiles(x86)% for the other, but few follow this suggestion.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Kerry
- Posts: 7
- Joined: 29 May 2016 20:09
Re: Some shortcuts have no icons - Bug?
So Change the target to :"C:\%programw6432%\JPSoft\TCMD19_x64\tcmd.exe"
XYplorer Beta Club