clary
28th March 2002 09:11 UTC
shortcut again ....
How can I set memory parameters in a .pif file with NSIS command "createshortcut" ?
The only solution I've found is to put on the command line this string before the called .bat file.
"$WINDIR\COMMAND.COM" /E:2048 /C "
But this idea isn't clean and I don't agree it.
More than this, it all right for only windows 95, 98 & Me.
Who can help me ?
Thanks.
Smile2Me
28th March 2002 14:16 UTC
As far as I know it, this is not possible using NSIS. But it should be possible to write a dll that performs this task.
Don't ask me how, I didn't create shortcuts before myself (only using NSIS). Maybe searching MSDN will give a clue on how to do this in a dll.
Good luck,
Hendri.
superrock
28th March 2002 16:52 UTC
Command.com under WinNT
Hi,;)
Also Winnt/2000/XP supports something like command.com !
Read the environment "comspec" for Win9x/ME/NT/2000/XP" and use it
like:
ReadEnvStr $1 "comspec"
and create a shortcut with
CreateShortCut "c:\temp\test.lnk" "$1 /E:2048 /C c:\temp\test.exe"