SoundVolumeCommandLine (svcl.exe) is a powerful console application developed by NirSoft that lets you manage Windows audio levels directly from the command line. It is the lightweight, console-only counterpart to the graphical tool SoundVolumeView. Because it lacks a user interface, it is highly optimized for integration into automation scripts, batch files, and scheduled tasks.
You can download the tool from the official NirSoft SoundVolumeCommandLine page. Core Parameters Syntax
When executing commands, you must target specific elements using an Item ID or Name.
Target Types: You can target a system device (e.g., Speakers, Microphone) or a running application (e.g., chrome.exe, spotify.exe).
System Requirements: Works natively on Windows Vista up to Windows 11 (both 32-bit and 64-bit systems). Common Command Examples Command Template Set exact volume (%) svcl.exe /SetVolume [Item] [Percentage] svcl.exe /SetVolume Speakers 50 Change volume for an app svcl.exe /SetVolume [App.exe] [Percentage] svcl.exe /SetVolume chrome.exe 20 Increase volume svcl.exe /ChangeVolume [Item] [Percentage] svcl.exe /ChangeVolume Speakers 5 Decrease volume svcl.exe /ChangeVolume [Item] -[Percentage] svcl.exe /ChangeVolume Speakers -10 Mute an item svcl.exe /Mute [Item] svcl.exe /Mute Speakers Unmute an item svcl.exe /Unmute [Item] svcl.exe /Unmute chrome.exe Switch/Toggle mute svcl.exe /SwitchMute [Item] svcl.exe /SwitchMute Speakers Set default playback svcl.exe /SetDefault [Item] [Type] svcl.exe /SetDefault “Headphones” 1
(Note: In the /SetDefault command, 1 represents the default device for standard multimedia playback.) Advanced Commands and Redirection
Outputting Data (/Stdout): This parameter is unique to svcl.exe. It sends the results or status information of your executed audio command directly to the console stream instead of a file.
Getting Audio Status: To capture the current volume level inside an automation script, you can query the system and read the application’s exit code (%errorlevel%): svcl.exe /GetPercent Speakers echo %errorlevel% Use code with caution.
Leave a Reply