up vote 4 down vote favorite
1
share [g+] share [fb]

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

link|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
feedback

1 Answer

up vote 9 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
link|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
feedback

Your Answer

 
or
required, but never shown

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