Introduction: Great Stuff With Command Prompt and Nircmd
This instructable gives you a walk trough on how to do awesome stuff with two simple tools....
I came upon this awesome utility the other day....already, i love it......
Step 1: Gather Tools
This step isn't to hard...
first Get a working computer with command prompt (sorry linux/mac)
next goto NirCmd and at the bottom is the app you want...Click this and select save as and specify the destination.
Step 2: Install Nircmd.exe
When you download Nircmd, it will be a zip folder. Extract the contents and copy Nircmd.exe to the C:\windows\system32 folder....(you can also do this by running nircmd.exe and selecting the option of copy to system folder)...then open up command prompt and type in nircmd.exe cdrom open j: (replace J: with your cd rom drive letter)...this should open up the cd drive to close it type nircmd.exe cdrom close j:
Step 3: So Now What?
So now your thinking what all can i do with this? Well remember the Nircmd page? At the top to bottom, it is filled with codes....try some out the all work(or should)....if those aren't enough, goto Google and search for nircmd commands
Step 4: Afterthoughts and Input
If you are like me, you don't exactly care to type out nircmd.exe ........and all the rest....well, save yourself some time! Find that nircmd.exe in system 32 and rename it to something shorter like nr.exe or nc.exe or whatever you like......Another quickie is doing certain commands regularly like open cd or turn off monitor or dial a connection or anything else....theres two ways to do this....Create a shortcut by typing in nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom open k:
this will create a cd open shortcut on your desktop....to make a close cd type
nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom close k:
just remember to substitute the J: with your drive letter
UPDATE=In some cases, you don't have to put the drive letter, just type nircmd.exe cdrom open/close and it will do the same thing
Goto task scheduler and type in nircmd.exe into the task/script field...
then, in the arguments field type in cdrom open E:
now specify time date and recurrence period....this can be done for any command
Step 5: Downloads
I put this here in case nirsoft.net is ever down.....