Using a Command Line Switch: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added how to use command line switches in Windows)
 
(redirecting to Command line arguments, since all content is now there)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
In Windows, you can use a command line switch by:
#redirect [[Command line arguments]]
 
If you want to run the command line with the switch once, by:
 
1. Go to Start->Run and enter the command line with the switch.
 
or
 
2. Go to Start->Programs->Accessories->Command prompt (or MS-DOS prompt if using an earlier Windows OS). Then, in the command prompt window typing in the command line with the switch.
 
If you want to make it easy for you to click and just have the command line switch executed, it is more complicated, but it will stay so you will just have to click the newly created shortcut next time.
 
*Copying your working Mozilla related program shortcut on the desktop by selecting it, right clicking it, and choosing copy.
*Now, unselect it and right click on an open area of your desktop. Select the Paste shortcut option.
*Now, you will have a second copy of your Mozilla related program shortcut.
*Select the second copy, right click and select properties.
*Edit the target textbox to add the command line option after the program file and the close of the double quotes.
*Click OK.
 
You will probably also want to right click this second shortcut and select rename and rename it so you can differentiate it from the one that runs the program normally.

Latest revision as of 08:48, 17 October 2005