Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I pass parameters from cmd prompt ?? I am trying to follow the following instructions:

For information about usage and parameters, simply run PGRIdleStateFix from the command prompt.

The parameters are:

-Disables all processor sleep states

-Enables processor sleep states

-Prints the current status of processor sleep states
share|improve this question
up vote 0 down vote accepted

Open a command prompt (Windows+R, type "cmd" and hit enter). Then change to the directory housing your executable ("cd enter-your-directory-here"), and run the command with the parameters.

If you'd like to do it via the menu shortcut (assuming installing that utility adds a start menu shortcut), navigate to the menu item, but instead of clicking it, right-click and select properties. At the end of the "Target:" field, add your parameter.

share|improve this answer
I got it till ("cd enter-your-directory-here"). But how do I run it with the parameters ? ... eg: Disbale setup.exe or enable setup.exe – abhilash sukumari Jul 8 '13 at 21:10
PGRIdleStateFix print – petiepooo Jul 8 '13 at 21:29
If you cd to the directory and see setup.exe, that tells me you haven't installed the package yet. Running setup.exe will, I assume, install it and give you menu commands for running the program under your Start menu. – petiepooo Jul 8 '13 at 21:30
BTW, I see you haven't selected answers on any of your other questions. If you want to encourage others to answer your questions, please select an answer if you see one that works for you. The currency of this site is reputation, and that's the answerer's reward. – petiepooo Jul 8 '13 at 21:37

First type the program name, then the parameters separated with spaces. For example:

MyCommand param1 param2 param3

To run the command prompt press Win+R, then type cmd and press Enter. To change directory, type cd DirectoryName (you can use relative directories, .. is the parent directory). To change current drive, type its letter, for example D:.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .