Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:

disable
-Disables all processor sleep states

enable
-Enables processor sleep states

print
-Prints the current status of processor sleep states
share|improve this question

2 Answers 2

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 –  user234999 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. –  user234999 Jul 8 '13 at 21:30
3  
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. –  user234999 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.