Many java programs and applications need a command prompt for the java to work.
So, is there a command you insert in the Batch file or is there a way to make an NSIS excutable launch a silent Batch file?
There is a way... I know that for sure.
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
Many java programs and applications need a command prompt for the java to work.
So, is there a command you insert in the Batch file or is there a way to make an NSIS excutable launch a silent Batch file?
There is a way... I know that for sure.
most java apps I use take command parameters from either command line or a launcher. I think you can pass the parameters the same way, such as:
I do not remember exactly how to do this in nsis, but I think it is in the same line where you type the program to execute. It's been a while since I tried this, and that was as a test anyway.
OliverK> you don't live on a cow
IRC: It brings out the best in all of us...Especially when tired.
it's not really helpful unless you tell me the parameter....
Thanks.
in old ms dos code usually u pass the -p after a command that usually requires a user input to remove user prompting for example
format c:\ -p
this erases c without asking do u want to confirm (rather nasty line to add to the start up batch file on certain old windows systems)
in old dos any way if thats of any help at all... i imagine there would be a way to prevent prompting as surly if its been around since day dot it would not be removed or neglected by newer versions of prompt.
i know u all do your best and i thank you for your patience
I think it may be something like:
The parameters will vary based on the app. If the app you are trying to launch comes with a bat launcher right click it and select edit. The required parameters will be off to the side in the line with the jar. Other than that, that's all I know.
OliverK> you don't live on a cow
IRC: It brings out the best in all of us...Especially when tired.