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.
25
questions
0
votes
0answers
17 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
0answers
21 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
1answer
39 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 ...
0
votes
0answers
16 views
Bind key (or combo) to increase/decrease focused application volume?
I'm looking for a way that i can map a key to manipulate the focused applications volume instead of setting the level globally, however I have been unsuccessful in my search so far. The trick of using ...
1
vote
0answers
285 views
CMD | Command to change position of monitor on dual monitor display setup
I'm a newbie to cmd, but 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 ...
0
votes
1answer
774 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 ...
1
vote
0answers
101 views
NirCmd setsysvolume startup issue
Copying the string "nircmd.exe setsysvolume 49151" (without quotes) into command prompt works, when i copy it into an example.cmd file and doubleclick to open it, it does not work.
What am i doing ...
1
vote
1answer
615 views
how to close a specific instance of a process using nircmd?
I have been using the following command to try closing the notepad file "temp.txt" opened on the windows.
nircmd win close title "temp.txt"
But this command seems not to work.
If I try the below ...
1
vote
1answer
2k views
NirCMD - Command line screenshot with incremental numbering
NirCMD is a free command line utility. I am using it to take the screenshot at a fixed time interval. (NirCMD reference).
I am trying to get it index the image names so that it would be
img1.png
...
0
votes
1answer
272 views
NirCmd won't run on Windows XP
I am using the NirCmd Command Line utility. It works fine on Windows 10, but I am trying to use it on Windows XP SP3. It says that it is not a Win32 compatible program. The website claims that it ...
1
vote
1answer
2k views
Nircmd not recognized in directory
I've an interesting issue; I added nircmd.exe to my directory by running it as administrator and going through the prompts, and confirmed it was in the directory by looking in C:\Windows.
Yet ...
0
votes
1answer
2k views
Shortcut created with script not showing up in Start Menu
I've just started trying to use nircmd. When I made a shortcut in a batch script, the shortcut was successfully created in the folder for my user's Start Menu > All Apps (%AppData%\Roaming\Microsoft\...
1
vote
3answers
796 views
Create shortcut using app path
How can I create a shortcut (perhaps using NirCmd) to Acrobat.exe using the path in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe and parameters /A "page=10" "file.pdf"?
0
votes
1answer
40 views
Nircmd: Invoking monitor using 'enter' key goes back again to monitor off state
I have created a shortcut with below command to turn-off laptop monitor (referred from this web link).
“C:\path\to\nircmd.exe” cmdwait 1000 monitor off
This solution is working fine for turning off ...
1
vote
2answers
25k views
remove password using cmd if user name is of two words
I want to change password using cmd.exe but I can't do this. :(
Because the user name is of two words(e.g. Engr. Saud). It works only on One word. How I tell cmd.exe as both words are Single user name?...
0
votes
1answer
1k views
Nircmd | Setting Volume | set specified volume amount (*/100)
Nircmd is like a variable to windows already built-in cmd and comes along with great informative, most especially brief documentation.
SETTING VOLUME (commands)
changesysvolume
change ...
0
votes
0answers
48 views
Find what program or device turns display on
I'm using program NirCMD to turn display of computer off.
"C:\Program Files\nircmd-x64\nircmd.exe" cmdwait 1000 monitor off
How can i tell what device or software turns it back on?
0
votes
0answers
156 views
cmd.exe at \\computername to run on remote machine
My original problem was the NirCmd remote \\PC_D ... (http://www.nirsoft.net/utils/nircmd.html) was failing. I tracked that down to it using at \\computername command which is not working on all ...
2
votes
1answer
981 views
NirCmd Screen stays black after waking up from sleep mode
I have a computer that should have 0 user interactions.
I want it to turn off and on on specific times.
Right now, i have a command that puts the computer to sleep. However i also need a task that ...
-1
votes
0answers
30 views
Turn off specific display of the two connected. Windows 8.1
I searched over here about turning off display on windows.
I have a secondary display connected to my laptop. I use it sometimes, but sometimes it creates distraction and I want to turn it off. I ...
2
votes
1answer
2k views
sending keypresses to a process using nircmd
I'm trying to use nircmdc to send a keypress to a background process (without bringing it to front).
More precisely, i'm tring to send Ctrl+Shift+S to notepad++.exe:
nircmdc win postmsg process ...
0
votes
1answer
7k views
NirCmd won't copy to windows directory
I was suggested to use NirCmd from this quesiton. However, when I pressed the "Copy to windows directory" button, I got this error. Why?
1
vote
2answers
2k views
Setting cmd with default command and user defined message
On button click in a winform application I am executing cmd.exe file (Using system("cmd.exe");), which opens perfectly fine and displays the following:
Microsoft Windows XP [Version 6.1.7601]
(C) ...
1
vote
2answers
1k views
My monitor doesn't auto-turn off!
I have Windows Vista and I've set up my display to turn off after 1 minute of inactivity in Power Options. However, it simply doesn't.
I also tried a utility called "nircmd" which has a "power ...
1
vote
1answer
2k views
Windows Task Scheduler and possible permission problems
I use NirCmd (http://www.nirsoft.net/utils/nircmd.html) to enable me to run commands such as "power off the monitor", "mute system volume" from the command-line (and I highly recommend it, BTW). My OS ...