The ideal way would probably that .bat (or .cmd or .vbs) creates the .lnk by some ActiveX magic, runs it and quits; subseuqntly .lnk could be clicked directly. Herby blake wrote:
I set up the regular Pharo (since I managed to get that instead of the one-click), then decided to try the actual one-click.
The previous one-click had a Windows shortcut ".lnk" whereas this one uses a batch file. The former is preferable, as the batch file opens a console window and leaves it open. You can close it--but that's not always the case in Windows.
I created a link by using "Create shortcut" on CogVM and then copying the parameter out of the batch file, and pasting it into the "Target":
[yourPharoDriveAndDir\]CogVM.exe Contents\Resources\Pharo-1.4-one-click.image
===Blake===