lnk gives Error executing program
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 3
- Joined: 2003-12-09, 20:51 UTC
lnk gives Error executing program
When i double click a lnk file (shortcut) i get an error box saying: Error executing program. This happens on my windows server 2003 installation, but not on a windows xp installation.
Does somebody have the same problem or knows how to solve this?
Does somebody have the same problem or knows how to solve this?
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
I've tried the same thing.
Let me guess there's no problem running the lnk file in explorer, right?
I think this is some kind of a bug in the way TotalCmd handles shortcut files, the only solution I know is to create another shortcut (Ctrl+Shift+F5).
Let me guess there's no problem running the lnk file in explorer, right?
I think this is some kind of a bug in the way TotalCmd handles shortcut files, the only solution I know is to create another shortcut (Ctrl+Shift+F5).
Of all the planets I've been to, this one is my favorite.
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Re: lnk gives Error executing program
I get the same error in Win XP Pro. How did you get around it in XP?DavidPront wrote:When i double click a lnk file (shortcut) i get an error box saying: Error executing program. This happens on my windows server 2003 installation, but not on a windows xp installation.
Does somebody have the same problem or knows how to solve this?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Where does the non-working lnk file point to? TC always checks a double clicked lnk file first: If it contains a folder name, TC tries to open that folder internally, otherwise TC uses ShellExecuteEx to start the link.
Btw, could you send me such a non-functioning link by e-mail, zipped? You can find my e-mail address on www.ghisler.com (support section).
Btw, could you send me such a non-functioning link by e-mail, zipped? You can find my e-mail address on www.ghisler.com (support section).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
[face=courier]On 09-12-2003 22:56:22 +0000 DavidPront wrote:
D> When i double click a lnk file (shortcut) i get an error
D> box saying: Error executing program.
Delete "IsShortcut" field value in "HKEY_CLASSES_ROOT\lnkfile" and "HKEY_CLASSES_ROOT\Piffile".
You can use Registry plugin by Vitaliy Knyazev for this.[/face]
D> When i double click a lnk file (shortcut) i get an error
D> box saying: Error executing program.
Delete "IsShortcut" field value in "HKEY_CLASSES_ROOT\lnkfile" and "HKEY_CLASSES_ROOT\Piffile".
You can use Registry plugin by Vitaliy Knyazev for this.[/face]
Last edited by Black Dog on 2003-12-12, 00:53 UTC, edited 1 time in total.
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
Oups! Values...
Hi!Black Dog wrote:[face=courier]On 09-12-2003 22:56:22 +0000 DavidPront wrote:
D> When i double click a lnk file (shortcut) i get an error
D> box saying: Error executing program.
Delete "IsShortcut" field value in "HKEY_CLASSES_ROOT\lnkfile" and "HKEY_CLASSES_ROOT\Piffile".
You can use Registry plugin by Vitaliy Knyazev for this.[/face]

Note: I delete the values! No problem then...
Edit: "values", thank you Black Dog!
>>> Mr. Ch. Ghisler: I always suppress these values, and all works normally about shortcuts, either in Win 98Se & XP-Pro than in TC... But I don't click *.lnk files, Why? It's more logical to click on the EXE!


Claude
Clo
Last edited by Clo on 2003-12-19, 01:21 UTC, edited 3 times in total.
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
[face=courier]On 12-12-2003 07:22:05 +0000 Clo wrote:
C> Note: I delete the whole keys, not only the values!
"HKEY_CLASSES_ROOT\lnkfile" is the KEY, "IsShortcut" is a VALUE.[/face]
C> Note: I delete the whole keys, not only the values!
"HKEY_CLASSES_ROOT\lnkfile" is the KEY, "IsShortcut" is a VALUE.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
"IsShortcut" MUST be present, otherwise the ShellExecuteEx function cannot run lnk files! I have no idea what function Explorer uses to run links, but apparently not ShellExecuteEx. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This is wrong!ghisler(Author) wrote:"IsShortcut" MUST be present, otherwise the ShellExecuteEx function cannot run lnk files! I have no idea what function Explorer uses to run links, but apparently not ShellExecuteEx.
I also deleted this key (to kill these stupid arrows) and at my system it works wonderfully

My System:
Windows XP Pro SP1 and much pre SP2-Patches ...
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
What exactly did you delete? When I tried that it wouldn't work when clicking on lnk files. It just gave me the error message. I am also using XP Pro with all of the update patches.rellek wrote:This is wrong!ghisler(Author) wrote:"IsShortcut" MUST be present, otherwise the ShellExecuteEx function cannot run lnk files! I have no idea what function Explorer uses to run links, but apparently not ShellExecuteEx.
I also deleted this key (to kill these stupid arrows) and at my system it works wonderfully
My System:
Windows XP Pro SP1 and much pre SP2-Patches ...
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe Microsoft fixed it in one of the Pre-SP1 patches?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com