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.

Is it possible to change the volume in Windows XP via the command line?

share|improve this question
    
AutoHotkey can do this, which you could compile and call from the command line –  Matthew Lock Sep 16 '09 at 11:47

1 Answer 1

up vote 13 down vote accepted

NirCmd is an application that does that and more.

Example of use:

  • Increase the system volume by 2000 units (out of 65535)
    nircmd.exe changesysvolume 2000
  • Decrease the system volume by 5000 units (out of 65535)
    nircmd.exe changesysvolume -5000
  • Set the volume to the highest value
    nircmd.exe setsysvolume 65535
share|improve this answer
    
Was hoping there was a standard Windows method, but this looks very handy. Will accept this if no-one supplies one in the next day or two. Thanks, Harry. –  Thomas Sep 16 '09 at 12:02
    
NirCmd looks very cool and very handy. Thanks for the tip. –  pave Sep 16 '09 at 13:08
    
NirCmd is also great for getting a laptop to mute on every logon - this way it won't accidentally keep making the "ding" sound on the train (which I don't notice because of the headphones until an embarrassing moment when someone gets annoyed enough to point it out.....) –  romkyns Jan 10 '10 at 15:08
    
This apparently also works on Windows 7, as a few now deleted non-answers pointed out earlier. –  Daniel Beck Dec 17 '10 at 14:35

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.