K-Meleon
KMeleonWiki > Documentation > CommandLineOptions
K-Meleon supports a number of command line options. To start the K-Meleon executable with additional parameters, navigate to the K-Meleon installation directory, right-click k-meleon.exe and send a shortcut to your desktop. Then right-click the created shortcut and choose Properties. Go to the Shortcut tab and append your parameters to the string in the Target input box. See the examples below.
Parameter | Effect |
"URL" | Starts K-Meleon with the specified URL (overriding homepage settings). |
-new | Starts a new browser instance. Available since K-Meleon 1.1. |
-P mostrecent | Starts K-Meleon with the most recently used profile. |
-P "profile name" | Starts K-Meleon with the specified profile. |
-profilesDir $appdata | Starts K-Meleon with the profile location set to the %AppData% directory (overriding profile.ini). |
-profilesDir "path" | Starts K-Meleon with the profile location set to the specified directory (overriding profile.ini). |
-webapp | Starts K-Meleon in kiosk mode. Available since K-Meleon 1.5. |
-norestrict | K-Meleon 1.5.1 try to run itself with lower privilege by default. This option remove the security restriction added in 1.5.1. Available since K-Meleon 1.5.2. |
These parameters can be combined. Note that opening new instances may fail while the K-Meleon Loader is running.
"C:\Program Files\K-Meleon\k-meleon.exe" http://kmeleon.sourceforge.net
"C:\Program Files\K-Meleon\k-meleon.exe" -P mostrecent
"C:\Program Files\K-Meleon\k-meleon.exe" -new -P MyProfile
"C:\Program Files\K-Meleon\k-meleon.exe" -new -profilesDir "C:\Users\Desktop\Documents\Profiles\"
Using specific directories is slightly more complicated than it first appears. The above example will work only if the directory contains a profiles.ini file. So to open the profile located in "C:\Users\Desktop\Documents\Profiles\SpecificProfile\" the command line instruction should point one directory above the profile and that directory should contain a profile.ini that could be as simple as:
[Profile0] Name=Specific Profile Path=SpecificProfile IsRelative=1 Default=1
Note: