lnk gives Error executing program
Moderators: Hacker, petermad, Stefan2, white
Update of update etc...
Boofo wrote:If they did, then they broke it again with one of the newer updates. I have all of the updates up to now.ghisler(Author) wrote:Maybe Microsoft fixed it in one of the Pre-SP1 patches?

It's the reason for which I didn't install any update in my XP-Pro!
Other: I'd an idea for you about icons; unfortunately, I can't apply it because an abnormal behaviour of the buttons settings in the 6.01.

http://ghisler.ch/board/viewtopic.php?t=2686
and following...
I'ld be very glad to hear your opinion...
Friendly,
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
I don't have the "IsShortcut" key under this. I have it under HKEY_CLASSES_ROOT\lnkfile. If I remove it there, I lose the shortcut arrows but the lnk files give me errors then. This is the key Christian is referring to.rellek wrote:Boofo:
HKEY_CLASSES\.lnk
there is a key "IsShortcut" and this i deleted.
The arrow was away and the double-click works ...
btw. also without sr1 (long time ago...)
I once made a program that could get info from lnk and pif files. It doesn't seem to have any trouble getting the target and working path from a lnk file, even if the value IsShortcut has been deleted. So instead of executing the lnk file through ShellExecute, get the target and working path, and execute that through ShellExecute.
Get the source code here: FL_GetShortcutInfo.txt
Get the source code here: FL_GetShortcutInfo.txt
Of all the planets I've been to, this one is my favorite.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm not doing this because links can contain all kinds of things like virtual folders and other objects, or even "run as different user". Does your tool do all of this?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
No it doesn'tghisler(Author) wrote:I'm not doing this because links can contain all kinds of things like virtual folders and other objects, or even "run as different user". Does your tool do all of this?

Could't you check for the IsShortcut value, and if it isn't there run the shortcut this way?
Of all the planets I've been to, this one is my favorite.
Yes, I know!
Boofo wrote:It's almost Christmas, who knows?



Yes! I know! Did you seen about the "carol"???

Merry X-Mas!

Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
LOL @ Claude
This will be the twins first real Christmas. They are 13 months old now. They should enjoy it a little more than they would have last year.
Sorry you'll be alone, my friend. But I'm here for ya!
BTW, Claude, I have to know...how old are you?
And to stay on subject...I'm not holding my breath on Billy giving up any secrets.
This will be the twins first real Christmas. They are 13 months old now. They should enjoy it a little more than they would have last year.

Sorry you'll be alone, my friend. But I'm here for ya!

BTW, Claude, I have to know...how old are you?
And to stay on subject...I'm not holding my breath on Billy giving up any secrets.

No secret...
>>>Boofo
Not confidential: I'm 61 (and 6 months...)... I'ld prefer these digits in reverse order, though it's still true in my state of mind...
Cheers! (otherwise, Christian'll use his stick on our fingers!)


#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials