You are here 705137

ing launching command line switch/parameter in appinfo.ini 2d5p2q

3 posts / 0 new
Last post
Mark888
Offline
Last seen: 1 year 2 months ago
ed: 2022-09-28 11:21
ing launching command line switch/parameter in appinfo.ini

Hello,

While some kinds of command line parameter are ed under [Associations] section such as: FileTypeCommandLine, FileTypeCommandLine-extension, ProtocolCommandLine, SendToCommandLine, ShellCommandLine; the command line switch/parameter for launching the app is poorly ed. It is only ed via myAppPortable.ini which is not so obvious and only for main App.

My suggestion is something as below:

appinfo.ini
[Control]
Start=AppNamePortable.exe

Start1=AppNamePortable.exe
Name1=AppName Portable Mode1
StartCommandLine=/switch=mode1

Start2=AppNamePortable.exe
Name2=AppName Portable Mode2
StartCommandLine=/switch=mode2

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 1 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
AppNamePortable.ini AdditionalParameters

When using an app that has a PA.c Launcher, you can add additional parameters using the AppNamePortable.ini. This is detailed in the ree.txt linked from the help.html file in the root of the app and available from a right-click in the PA.c Platform. An example file of this exists within AppNamePortable\Other\Source. You copy it to AppNamePortable and then rename AppNamePortable.ini to the actual name of the app (example: InkscapePortable.ini). Within that file is an entry listed as AdditionalParameters= which will any additional parameters to the app when it is launched. This file is preserved as you upgrade.

Sometimes, the impossible can become possible, if you're awesome!

Mark888
Offline
Last seen: 1 year 2 months ago
ed: 2022-09-28 11:21
Thanks for answer my question

Thanks for answer my question.
I know about the AdditionalParameters in myAppPortable.ini. I also mentioned it in my post.
But as I say, it only the mainApp, and can't be made into multiple running modes of an app.
My above suggestion works as shorcuts to multiple modes of an app.
Futher more, if appFolder has more exe files (auxiliary apps), we can arguments to the auxiliary apps as well

to post comments