Questions tagged [nircmd]
NirCmd is a small command-line utility for Windows that allows you to do some useful tasks without displaying any user interface.
33
questions
0
votes
3
answers
452
views
Mute specific application in Windows without nircmd
One of my games will not respond to the usual nircmd command to mute it:
nircmd snircmd muteappvolume Cyberpunk2077.exe 1
I suspect it may not be working as it may be one of those applications that ...
0
votes
0
answers
19
views
Stop Screensaver using Task scheduler windows 8.1
I have an old windows 8.1 tablet that I'm trying to set up as a digital picture frame. It's a winbook tw700.
The tablet does not support wake timers so I have sleep for battery and plugged in as ...
1
vote
0
answers
120
views
Invoke S0 Sleep using Task Scheduler for all users
I'm trying to get a Windows 10 Optiplex 7000 to go to sleep at 10pm every day. I installed nircmd and created a task in task scheduler to run a .bat file with the following command: nircmd.exe monitor ...
0
votes
3
answers
3k
views
Make power-button force shutdown
I want my PC power-button to shut down Windows immediately. But what it actually does it prompt for action if there are e.g. unsaved changes.
How can I force the power button to shut down immediately?
...
1
vote
2
answers
564
views
How do I create a batch command to minimize the window of a particular program?
I'm using Task Scheduler to launch SoundID Reference.exe, a third-party program, 60 seconds after my Win 10 64-bit computer starts up. That's working fine.
I would like to create a batch command to ...
3
votes
1
answer
1k
views
NirCmd volume control of certain applications from Volume Mixer not working?
So I use this app to mute microphone communication in Valorant.
But I also want to mute the game itself.
The devs of the game have separated these 2 so in Volume Mixer (SndVol.exe) they are 2 ...
3
votes
4
answers
898
views
Can you use nircmd to help save clipboard contents to a Batch File variable?
In a batch script, I wish to save the clipboard text into a variable. Having searched it seems that this is not possible without 3rd-party tools. Well I have nircmd, and one of its commands is:
"...
0
votes
2
answers
562
views
NirCmd: Copy Path vs. Copy File Name
nircmd.exe execmd (echo.|set /p=\"%1\") | clip
Copies %1 path to the clipboard.
How can I copy the file name to the clipboard using NirCmd?
echo. | set /p = "%~nx1" | clip works in ...
2
votes
1
answer
3k
views
How to get system volume level(audio) in windows?
Using nircmd we can set system volume level(audio) but how to get system volume?
How can we get system volume using powershell?
2
votes
2
answers
4k
views
Using nircmd to turn off monitor instead puts PC to sleep
I've been using nircmd to turn off the monitor/display of various PCs like so:
nircmd.exe cmdwait 1000 monitor off
The cmdwait 1000 part just adds a 1 second delay (to let the last keystroke and ...
0
votes
0
answers
494
views
Mic mute/Unmute Toggle is not working
Trying to toggle Mute/Unmute for my microphone on the latest windows 10 build but its not working
what I'm trying to do below in the code is toggle the mic and each time I do toggle the mic a ...
1
vote
1
answer
1k
views
NirCmd 'Failed to copy NirCmd!' & can't get NirCmd to work overall
NirCmd has been working just fine for me for a very long amount of time, but not today... I couldn't get the following command to work, although it always worked fine in the past:
nircmd win close ...
1
vote
1
answer
839
views
How to change the position of monitor on dual monitor display setup in Windows using the command prompt?
I've managed to create 2 bat files that switches between primary displays (Display 1 and Display 2).
I did this to simplify the process of running a dual-monitor splitscreen configuration for Rocket ...
1
vote
2
answers
682
views
nircmd screen capture is smaller than actual resolution of the screen
I am taking a screenshot using NirCmd savescreenshot. The result screenshot is smaller than the actual resolution of the my screen. My screen resolution is 1920 x 1080.
When I tried this link, it ...
0
votes
1
answer
2k
views
Focusing a window in cmd with Nircmd
First time posting. I have been playing around with creating macros that can individually adjust the sound of individual application. Found that Nircmd has the commands that I want for example if I ...