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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
40 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 ...
user avatar
1 vote
1 answer
125 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 ...
user avatar
  • 11
3 votes
3 answers
176 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: "...
user avatar
  • 229
0 votes
2 answers
170 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 ...
user avatar
  • 123
2 votes
1 answer
637 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?
user avatar
0 votes
1 answer
424 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 ...
user avatar
  • 1,314
0 votes
0 answers
214 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 ...
user avatar
1 vote
1 answer
399 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 ...
user avatar
1 vote
0 answers
451 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 ...
user avatar
1 vote
2 answers
352 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 ...
user avatar
  • 13
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
128 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 ...
user avatar
1 vote
1 answer
989 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
0 votes
1 answer
321 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 145
0 votes
1 answer
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\...
user avatar
1 vote
3 answers
934 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"?
user avatar
0 votes
1 answer
54 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 ...
user avatar
1 vote
2 answers
31k 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?...
user avatar
  • 11
0 votes
1 answer
2k 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 ...
user avatar
  • 472
0 votes
0 answers
55 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?
user avatar
  • 51
0 votes
0 answers
185 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 ...
user avatar
  • 115
2 votes
1 answer
1k 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 ...
user avatar
  • 21
2 votes
1 answer
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 ...
user avatar
  • 1,027
0 votes
1 answer
8k 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?
user avatar
  • 8,881
1 vote
2 answers
3k 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) ...
user avatar
  • 241
1 vote
2 answers
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 ...
user avatar
1 vote
1 answer
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 ...
user avatar