Is it possible to set default parameters for an application in Windows XP? (without using a shortcut) For example, I want Firefox to run with the parameters "-p username" when I run "firefox.exe".
|
|
Run
Put I believe this affects all users on the machine, however. You would also be wise to backup this part of the registry. In RegEdit, select the key:
and choose File | Export.... Choose the Selected Branch option to backup this part of the registry before changing it. |
|||
|
|
|
1) Open notepad, paste this in, and save it as
2) Using a batch file compiler (such as this one or this one which both seem to do what you need, but note that I have not personally tested either), compile 3) Navigate to your Firefox install directory, and rename 4) Copy and paste your compiled batch file, Now when |
|||||||||
|
|
You can specify default parameters for any file (for example HTML files). Just:
Now when user opens a HTM or HTML file, firefox (or any application that is associated to HTM or HTML files) will run by the specified parameters and opens that file. But as far as i know, there is no way to specify a default parameter for a particular EXE when user clicks on it. |
|||
|
|
|
You could just create a batch file that runs Firefox with the arguments, and always use this to run, by adding the Firefox directory to your PATH environmental variable and simply calling |
|||
|
|
Always use the same shortcut for Firefox? It's not, to my knowledge, possible to set this on a per-application basis, just per-shortcut. |
|||||
|
|
|
An alternative to using a batch file compiler is to use an AutoIt script, which can be compiled into an exe file. |
|||
|
|