Great Stuff With Command Prompt and Nircmd




About: indeed

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......

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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 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


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

another method
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 is ever down.....

Be the First to Share


    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    6 Discussions

    "first Get a working computer with command prompt (sorry linux/mac)"

    I'm sorry, but I couldn't help but laugh here. You act as if BASH/shell actually needs a utility like this. XD


    10 years ago on Introduction

    This really doesn't tell you how to do anything with the NIRCMD.EXE. All it says is to download it and go to an external web page. To me this instructable is incomplete. Or at least the title needs to be changed to "How to download NIRCMD.EXE" or "how to rename NIRCMD.EXE"

    3 replies

    Reply 10 years ago on Introduction

    yes true....ill work on trying to find a list of commands that i could post on here but everytime i try i loose the grid organization.....


    10 years ago on Introduction

    I LOVE nircmd! It's so useful. I use it all the time.