(12-13-2022, 03:43 PM)Kernelpanic Wrote: Thanks! I tried it, but the program is not found there.
This screenshot reveals all: the space is the culprit. It's what I've been trying to say but you guys were unaffected it seems. That's why I proposed the "PROGRA~1" or the other "outdated, internal 8-dot-3" name before the attempt was made instead from "D:\Programme".
On Linux might have been able to do something like this:
Code: (Select All)
D:\'Program Files'\Notepad++\Notepad++.exe
Incredibly, the stuff that prepares Wine and its related shortcuts doesn't do things this way, it creates a "dot-desktop" file that sometimes fails to launch the Windows app. So I have to get on top of it creating the "dot-desktop" file myself.
(12-13-2022, 03:40 PM)Kernelpanic Wrote: Thank's for the Tipps! It even works with "Program Files" now, thanks Pete. The IP number is displayed and Notepad opens with the specified file. There are two peculiarities:
1. The command line is also opened; is probably due to "Shell".
2. Without "_DontWait" the output window can/will not be closed until Notepad is closed.
It shows, however, that it is also possible with Basic, even with "Program Files". Upgradable! I will try if I can pack the call to external programs in a function.
Wait, did it work after all as D:\"Program Files"\... ?!
(facepalm) Now I'm that long-eared critter that Sam wants to shoot down, do it now while I'm blindfolded...