![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-11 18:24 |
共 47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » nircmd 外部命令如何关闭音量控制里的某一项呢? |
| 可打印版本 1,172 / 4 |
| 第1楼 chainliq | 发表于 2008-11-04 13:27 |
| 高级用户 发帖 244 积分 635 来自 广西贵港 | |
|
nircmd 外部命令如何关闭音量控制里的某一项呢? nircmd 如何关闭音量控制里的某一项呢?比如要设置 Rear Pink IN 为静音.试过好多参数都不行,下面提nircmd 的一些中文件帮助
Open the door of J: CD-ROM drive 打开CD nircmd.exe cdrom open j: Close the door of Y: CD-ROM drive 关闭CD nircmd.exe cdrom close y: 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 Mute the system volume 禁音 nircmd.exe mutesysvolume 1 Unmute the system volume 开声音 nircmd.exe mutesysvolume 0 Switch the system volume between the mute and normal state. 静音 nircmd.exe mutesysvolume 2 Turn off the monitor 关屏幕 nircmd.exe monitor off Start the default screen saver 打开屏幕保护 nircmd.exe screensaver Put your computer in 'standby' mode 进入待机状态 nircmd.exe standby log off the current user 注销 nircmd.exe exitwin logoff Ask if you want to reboot, and if you answer 'Yes', reboot the computer. 是否重起 nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot Turn off your computer 关机 nircmd.exe exitwin poweroff Dial to "My Internet" connection 拔网连接 nircmd.exe rasdial "My Internet" Disconnect the "My Internet" connection 断连接 nircmd.exe rashangup "My Internet" Make your Internet Explorer windows 75% transparent ! (192 / 256) 让IE透明 nircmd.exe win trans ititle "internet explorer" 192 Minimize all your Internet Explorer windows 最小化全部IE窗口 nircmd.exe win min class "IEFrame" Close all your Internet Explorer windows 关闭全部IE窗口 nircmd.exe win close class "IEFrame" Close all your Explorer windows (My Computer, folders, and so on) 关闭全部Explorer窗口 nircmd.exe win close class "CabinetWClass" Hide all your Internet Explorer windows 隐藏全部IE窗口 nircmd.exe win hide class "IEFrame" Show all your Internet Explorer windows (after you made them hidden with previous example) 展现全部IE窗口 nircmd.exe win show class "IEFrame" Center all top-level windows 集中全部窗口 nircmd.exe win center alltop Remove the title bar of My Computer window. 移除我的电脑标题条 nircmd.exe win -style title "my computer" 0x00C00000 Return the title bar of My Computer window that we removed in the previous example. 返回上次操作 nircmd.exe win +style title "my computer" 0x00C00000 Create a shortcut on your desktop that closes all your Internet Explorer windows 在桌面上创建一个关闭所有IE窗口的快捷方式 nircmd.exe cmdshortcut " "~$folder.desktop$ "Close All IE" win close class "IEFrame" Create a shortcut on your desktop that hides all your Internet Explorer windows 在桌面上创建一个隐藏所有IE窗口的快捷方式 nircmd.exe cmdshortcut " "~$folder.desktop$ "Hide All IE" win hide class "IEFrame" Create a shortcut on your desktop that shows back all your Internet Explorer windows 在桌面上创建一个展现所有IE窗口的快捷方式 nircmd.exe cmdshortcut " "~$folder.desktop$ "Show All IE" win show class "IEFrame" Hide the desktop window 隐藏桌面图标 nircmd.exe win hide class progman Show the desktop window (After hiding it in previous example) 展现桌面上的图标 nircmd.exe win show class progman Hide the start button on the system tray 隐藏开始按钮 nircmd.exe win child class "Shell_TrayWnd" hide class "button" Show the start button on the system tray 在系统盘上展示开始按钮 nircmd.exe win child class "Shell_TrayWnd" show class "button" Hide the clock on the system tray 隐藏任务栏上的时钟 nircmd.exe win child class "Shell_TrayWnd" hide class "TrayClockWClass" Show the clock on the system tray 显示任务栏上的时钟 nircmd.exe win child class "Shell_TrayWnd" show class "TrayClockWClass" Kill (terminate) all instance of Internet Explorer processes 终结全部IE进程 nircmd.exe killprocess iexplore.exe Create a shortcut on your desktop that opens the door of K: CDROM drive when you run it. 在桌面上创建一个打开某个CD的快捷方式 nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom open k: Restart your Apache server (under Windows NT/2000/XP/2003) 重起Apache服务 nircmd.exe service restart apache Restart your IIS nircmd.exe service restart w3svc Restart MySql nircmd.exe service restart MySql Open the desired Registry key/value in RegEdit 打开注册表 nircmd.exe regedit "HKLM\Software\Microsoft\Windows\CurrentVersion" "CommonFilesDir" Copy your desktop folder path to the clipboard 复制桌面上的文件夹路径到剪贴板 nircmd.exe clipboard set ~$folder.desktop$ Copy your start menu folder path to the clipboard 复制开始菜单里的文件夹路径到剪贴板 nircmd.exe clipboard set ~$folder.start_menu$ Clear the clipboard 清除剪贴板里的内容 nircmd.exe clipboard clear 附件 NirCmd 2.15.zip (81.12 KiB) |
|
| 第2楼 tireless | 发表于 2008-11-04 15:34 |
| 银牌会员 发帖 1,122 积分 2,025 | |
|
应该是这样:
mutesysvolume {Component} {Device Index} |
|
| 第3楼 yishanju | 发表于 2008-11-04 16:01 |
| 银牌会员 发帖 1,357 积分 1,488 | |
| 第4楼 chainliq | 发表于 2008-11-06 13:58 |
| 高级用户 发帖 244 积分 635 来自 广西贵港 | |
|
sysvolume 还有其它参数吗?
|
|
| 第5楼 cacophony | 发表于 2009-04-23 05:38 |
| 新手上路 发帖 1 积分 1 | |
|
学习学习
|
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |