Free PC Support
PC Help Forums from the Experts at Technical-Assistance.co.uk
 
Google
 
Search The Web Search This Site
 RSS FeedRSS Feed   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SNDVOL32.exe Command Line Parameters

 
Reply to topic    Free PC Support Forum Home -> Helproom
Author Message
imcoocoo



Joined: 30 Jan 2008
Posts: 28
Location: Tampa, Florida, U.S.A.

PostPosted: Thu Feb 10, 2011 11:57 pm    Post subject: SNDVOL32.exe Command Line Parameters Reply with quote

When it comes to the volume control of Windows XP, I know of 2 particular switches:
/P brings up the playback controls,
and
/R brings up the recording controls.
I've been used to typing "sndvol32 /p" or "sndvol32 /r".
However, i recently enabled another option in my volume control properties for my SoundMax Digital Audio board.
I now have the "Other" choice available in the "Adjust Volume For:" group in the "Properties" dialog.Is there a command line switch that will open Volume Control with the "Other" (in my case, "Headphones") screen showing instead of the master playback screen?
TIA to whoever reads this...
SoftStag, you're an awesome man out there. Looking at keeping a perfect streak going, lol? JK...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
JonS



Joined: 31 May 2010
Posts: 813
Location: Morecambe

PostPosted: Fri Feb 11, 2011 1:44 am    Post subject: Reply with quote

Try using NirCmd utility available from http://www.nirsoft.net/utils/nircmd.html
the downloads are at the bottom of the page

help file is at
http://www.nirsoft.net/utils/nircmd2.html#using

both are very long pages

the documentation indicates it can do what you want - though I've never
tried it

this explains the general syntax of the command with examples

General Syntax Of NirCmd

nircmd.exe {showerror} [command] [command parameters]
The showerror parameter is optional. If you specify this parameter, an error message will be displayed on the screen if an error is occurred during the execution of the command. Otherwise, any error will be ignored. For example:
nircmd.exe showerror rasdial "dial1"
nircmd.exe rasdial "dial1"
In above 2 examples, NirCmd will try to dial with the "dial1" entry. If the dialing process is failed on the first example, an error message describing the problem will be displayed. If the dialing process is failed on the second example, error message won't be displayed.

heres the relevant extract from the help file, though you'll be better off reading the whole document if possible.

setsysvolume [volume] {Component} {Device Index}
Set the sound volume for your system. Changing this value also affects the sound volume settings under 'Control Panel'. The [volume] parameter should contain a value between 0 (silence) and 65535 (full volume).
{Component} is an optional parameter that specifies one of the following sound components: master, waveout, synth, cd, microphone, phone, aux, line, headphones, wavein. The default value is 'master' (for master volume). Under Windows Vista, the component name must be identical to the one of the device names appear in the sound window of Vista (Control Panel -> Sound). If the device name contains spaces, it must be in quotes.
{Device Index} is an optional parameter that specifies the sound device index. This parameter is useful if you have more than one sound card. If you don't specify this parameter, the default sound card in Control Panel is used.
Examples:
setsysvolume 0x8000
setsysvolume 0
setsysvolume 25000 waveout
setsysvolume 25000 master 1

Vista Examples:
setsysvolume 0x8000
setsysvolume 0 "front mic"
setsysvolume 25000 speakers
setsysvolume 25000 "line in"


so the command you would need to use would be something like
nircmd.exe setsysvolume [volume] {Component} {Device Index}

the nircmd.exe file itself is best placed in c:\windows\system32


PS - Softstag appears to be on leave of absence at present


Last edited by JonS on Fri Feb 11, 2011 1:31 pm; edited 4 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JonS



Joined: 31 May 2010
Posts: 813
Location: Morecambe

PostPosted: Fri Feb 11, 2011 8:54 am    Post subject: Reply with quote

I've just spotted the fact your are blind
It could be worth you investigating Nircmd more - it can do quite a lot from the command line
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JonS



Joined: 31 May 2010
Posts: 813
Location: Morecambe

PostPosted: Sat Feb 12, 2011 11:40 am    Post subject: Reply with quote

this page my give a more direct answer to what you need

http://www.peakoil.org.au/dave.kimble/doctor/volume-controls.htm

to precis what he says

sndvol32 command line parameters

sndvol32 is a Microsoft applet that displays the volume controls.
It is normally located at C:\WINDOWS\system32\sndvol32.exe

Format :
sndvol32 [-Daudio_device_number] [-Record | -Play] [-Normal | -Small | -Tray]

The "-D" parameter is only needed if you have more than one audio device installed, such as a USB Phone in addition to your computer's built-in sound device.

Example :
sndvol32 -D2 -R -S
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Reply to topic    Free PC Support Forum Home -> Helproom All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 



Powered by phpBB © 2001, 2005 phpBB Group

2005 - 2018 All Rights Reserved www.technical-assistance.co.uk
Terms and Conditions