Forums

Windows commandline parameter (MoHPA)

MoHPA

Auteur Réponses
Marlowe Samedi 25 Aoüt 2012 à 3:14
MarloweAnonymous

How can i pass windows commandline parameters to an exe file

e.g.

"c:\\MOHPA.exe" +set ui_console 1

This would enable the game condole.

Which way i can add this to the pol Shortcuts?

Thank You

Phil
petch Samedi 25 Aoüt 2012 à 7:14
petch


Configure button > (select shortcut) > General tab > Arguments

"Arguments" seems to be the correct technical wording for it, but maybe it would be easier to find if it was called "Parameters"?

Looking for false friends, I've found "Leave the default location" (where should I go now? :P)
If you find other broken or at least non idiomatic wordings, feel free to report them...

Edité par petch

Marlowe Samedi 25 Aoüt 2012 à 10:56
MarloweAnonymous

Thank you. Yeah this should be the right one. In german-langpack it's really called parameter. It adds the parameter to the Shortcut-script.
But unluckily it does not really work.... perhaps i'll try different programms and functions
petch Samedi 25 Aoüt 2012 à 11:49
petch

Never heard of it not working though, so you must be doing something wrong.
Marlowe Dimanche 26 Aoüt 2012 à 0:16
MarloweAnonymous

I think there is a little bug.
When i add the parameters, in the shortcut script it is savad in this kind
POL_Wine MOHAA.exe +set developer +set ui_console 1 +set cheats 1 +set thereisnomonkey 1 "$@"
That does not work.

If i change it this way:
POL_Wine "MOHAA.exe" +set developer +set ui_console 1 +set cheats 1 +set thereisnomonkey 1 "$@"
It will work. The exe should be in "marks".

Phil
petch Dimanche 26 Aoüt 2012 à 0:23
petch

I don't see how it could make any difference, because they're only seen by the shell interpreter.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com