DEV Community

Cover image for Batch - Turn Volume Up to 100%
Dan Wheeler
Dan Wheeler

Posted on

Batch - Turn Volume Up to 100%

In Windows, you can create a batch file that when run, turns the computers volume all the way up to 100%. Simply copy the below into a text editor and save as a .bat file:

@if (@a==@b) @end /*
:: batch portion
cscript /e:jscript "%~f0"

:: JScript portion */
var shl = new ActiveXObject("WScript.Shell");
for (var i=0; i<50; i++) {
Enter fullscreen mode Exit fullscreen mode

Top comments (0)