Search code examples
windowsbatch-filecmdvolume

Change volume in CMD/Batch


I am making a batch-file that will start a song and i want to make it ask for a volume.

How do I set the volume? Is it even possible?


Solution

  • To make the Batch file "ask for a volume", execute: sndvol.exe (sndvol32.exe in Windows XP).

    There is no way that a Batch file "set the volume" via standard commands, but a third party program can do it, like NirCmd