CMD Tricks


Introduction: CMD Tricks

About: M DeMers Senior Director of Fuel Ignition Division Jet Propulsion Laboratory 4800 Oak Grove Dr, Pasadena, CA 91109

Recently I posted another CMD (command prompt) About a star wars IV trick so I decided to post some more.

CMD is a handy tool to transport files, copy, delete and more.

This instructable is just a guide and list of possibilities of CMD

Step 1: Help Command

Need help?

help and /? command

The help command shows all the commands and a small description.

/? goes after a space of a certain command and shows a in depth description

Step 2: Customize the Color

Changes the color of background and text

Once again there are two commands

color set and color *

color set shows the list of background and letter colors

and color * (* certain colors) sets the color

first look at the list and type in color*

my favorite is "color a"

Is not permanent

Step 3: Change the Title

This one changes the command (on the top left corner)

only one command this time (hooray!)

the command is "title*" (*=what you want the title to be)

Is not pernament

Step 4: Abort

Abort command will cancel any command that is loading

Press ctrl c to cancel

Step 5: History

With this handy command you will be able to see the command history for you current session

Simply press F7 to display the list of commands entered during the current session.To run the previously entered command press F3. To run any command from the history list by it’s number, press F9 and type the command number

Step 6: Remote Shutdown

Remotely shutdown any computer on your network. It will most likely not work in offices or schools (due to security), but should work on home networks.

"shutdown.exe -i" to open a new tab that will remotely shutdown a computer on your network.

Select the computer, decide whether to restart or shutdown, and dialog box

Step 7: Change Name

If your bored with what the beggining name you can change that.

"prompt*" (*=what you want the change to be)

Step 8: Clear All Commands

To clear the entire scree but does not change colors or names

"cls" to clear all commands

Step 9: Exit

To quickly exit the cmd

"exit" to exit cmd



    • Creative Misuse Contest

      Creative Misuse Contest
    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest

    21 Discussions

    Thanks for sharing. Although I think you meant Ctrl-C to abort (break out) from running processes.

    1 reply

    I used at least 4 computer that had only MS-DOS on it. I had a Olivetti M24 (already old when I got it) on which I installed myself MS-DOS 3.3!

    There used to be a lot of upper memory problems with DOS, We even had to use 3rd party software to manage the RAM above the base amount which I believe was 650K -- something like that.

    Then every time some somebody figured out a better way to do things, like file compression, Microsoft would buy them and incorporate their stuff in the next version.

    If you can get the book for DOS 5 it has a lot of the commands in detail. DOS was the underlying working system until Windows 95 which went from a 16 bit system to the first true 32 bit system.

    Before Win 95 you would boot into DOS first and then run Windows on top of it. A lot of games dropped out of Windows and ran in the DOS enviornment because of the memory management problem.

    how do you specify what computer to shutdown. If use use ip address, how do you fnd out a cmputers io without going on that compter?

    @echo off




    echo^<hta:application id="oBVC">>bsod.hta

    echo applicationname="BSOD">>bsod.hta

    echo version="1.0">>bsod.hta

    echo maximizebutton="no">>bsod.hta

    echo minimizebutton="no">>bsod.hta

    echo sysmenu="no">>bsod.hta

    echo Caption="no">>bsod.hta

    echo windowstate="maximize"/^>>>bsod.hta


    echo^</head^>^<body bgcolor="#000088"scroll="no"^>>>bsod.hta

    echo^<font face="Lucida Console"size="4"color="#FFFFFF"^>>>bsod.hta

    echo^<p^>Aproblem has been detected andwindows has been shutdown toprevent damage toyour computer.^</p^>>>bsod.hta




    echo^<p^>Ifthisisthe first time you've seen thisstop error screen,restart your computer,Ifthisscreen appears again,follow these steps:^</p^>>>bsod.hta


    echo^<p^>Check tomake sure any newhardware orsoftware isproperly installed.Ifthisisanewinstallation,ask your hardware orsoftware manufacturer forany windows updates you might need.^</p^>>>bsod.hta


    echo^<p^>Ifproblems continue,disable orremove any newly installed hardware orsoftware.Disable BIOS memory options such ascaching orshadowing.Ifyou need touseSafe Mode toremove ordisable components,restart your computer,press F8 toselect Advanced Startup Options,andthenselect Safe Mode.^</p^>>>bsod.hta


    echo^<p^>Technical information:^</p^>>>bsod.hta





    echo^<p^>***gv3.sys-Address F86B5A89 base at F86B5000,DateStamp3dd9919eb^</p^>>>bsod.hta


    echo^<p^>Beginning dump of physical memory^</p^>>>bsod.hta

    echo^<p^>Physical memory dump complete.^</p^>>>bsod.hta

    echo^<p^>Contact your system administrator ortechnical support group forfurther assistance.^</p^>>>bsod.hta







    you didn't help me

    Cool, I made a Basic command list kind-of like this except less pictures.
    Echo: Awesome Instructable!!


    On the shutdown, what do i type into the box?

    for the shutdown.exe -i , every time this meassge appeared :

    access is denied(5) , any solution ?

    1 reply

    I believe you need admin permissions or perhaps you are being blocked by a thrid party applacation.