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 stitle "Skype"
I tried testing/running it with some other, opened windows, but to no avail.
I then decided to remove nircmd from C:\Windows and copy it back again. But upon trying to do so, I got a 'Failed to copy NirCmd!' error, I then tried to run it as an administrator, which still resulted in the same error...
My local account is set to administrator as well, but yeah, really not sure why this is happening
IMPORTANT EDIT: Alright, so I currently managed to fix the 'Failed to copy NirCmd!' error, by moving it from Dropbox to a local folder... not sure why this is, since the Dropbox folder has all the permissions that all my local folders have... nothing was getting synced while I was doing this, also
Moving the batch file with the aforementioned command outside of Dropbox, and also trying to run it as admin, did not help however, so yeah... still looking for help on this part
EDIT: I've now manually re-added nircmd to C:\Windows, still nothing so far...
FINAL EDIT: With much help from user @w32sh, the thread is now solved. I basically re-added nircmd in the wrong place, so hence, correctly re-eadding nircmd, does indeed seem to solve this 'issue', for me anyway. Still not sure why this happened in the first place, since everything has been working fine in the past, but oh well
