3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

CMD Commander v3

CMD Commander v3
I've read a few Instructables about playing with school computers in which people complain about how difficult it is to open Command Prompt. Yes, you can usually find a way past the school restrictions, or you can download Command Prompt Portable from portableapps.com, but I have a batch file that will do the exact same thing.
 
Remove these adsRemove these ads by Signing Up
 

Step 1The Script

The Script
To make CMD Commander, Version 3 (so-named because it commands the Command Prompt program), simply copy/paste the following into NotePad:

@echo off
color 0a
:Input
title @ %CD%
echo.
set/p "command= +++> "
%command%
goto Input

Save as a batch file (CMD Commander.bat, All Program Files), and run it. You now have a portable Command Prompt that is only a few bites in size (miniscule)!
« Previous StepDownload PDFView All StepsNext Step »
35 comments
Aug 13, 2009. 6:40 PMkroq-gar78 says:
why do you make the color 0a (greenish), not FFFFFF (white)?? just for the heck of it?
Dec 6, 2011. 10:07 AMDark-player says:
you could use any color you want, but FFFFFF wont wok, because its not a command color (from 01 to FE, you can't use same chars)
Sep 24, 2010. 12:56 PMSaturn V says:
I like green because of The Matrix.
Aug 23, 2009. 2:18 PMnaruto 777 says:
what if you dont have notepad and the portable one is blocked too?
Aug 2, 2010. 12:03 AMcorey11 says:
Simple, if you have a computer at home, type this up in notepad and save it on a thumbdrive! It's easy, just hide it deep in the thumb drive and if you make a shortcut, chance the icon and name. I have so much code on my thumbdrive it's not even funny!
Mar 25, 2010. 3:52 AMDoubleblades85 says:
haha, lol'd at the beggining of your comment
Nov 24, 2009. 5:57 PMGeek101 says:
Visual basic!! Super easy to make a notepad clone!
Aug 13, 2009. 6:37 PMkroq-gar78 says:
haha... nice way of thinking about it, but can't you just go to run and type 'cmd'????? it's so much easier than doing whatever you're doing. but, if what you mean by 'restrictions' is that you can't open command prompt, then forget whatever i said at the top. nice tutorial either way tho!
Aug 1, 2009. 6:25 PMPyRo_RaPiD says:
(removed by author or community request)
Aug 2, 2009. 6:53 PMPyRo_RaPiD says:
(removed by author or community request)
Jul 24, 2009. 8:02 PMwizerd 745 says:
At my school the computers arnt allowed to run batch files, however last year my computer would for some reason. It was just luck, nothing I did.
Jul 16, 2009. 11:12 AMmattyandchloe says:
if you say title cmd commander-then put whatever you want here it will be called that like el mano
Jul 12, 2009. 5:04 AMScytheon3 says:
Or you could just type the command you want to do into windows run and it will work just fine
May 30, 2009. 10:54 AMiHackAlot says:
or just type in command in notepad and save as .bat either way it works fine btw nice find
May 27, 2009. 7:29 AMwill421 says:
What`s ? If it looks nice to you for me it says:
[00][13]
May 27, 2009. 8:46 PMTheDeviant13 says:
steps 1 and 3 where you have the text that needs to go into the batch file at it says title CMD Commander By El Mano
May 27, 2009. 10:52 PMTheDeviant13 says:
Ok I also noticed that when I pasted it into word and I like this just as much as CMD prompt because it does the same thing and can be used if CMD is blocked such as at school dang it though school is out for me well there is always time to perfect my program list for next year.
Apr 28, 2009. 1:23 PMPyroMaster007 says:
my admin has blocked the use of command prompt so when i open it it displays a message that says "command prompt has been disabled by your administrator..." your 'ible didn't help, same message displayed. any help?
May 22, 2009. 2:43 AMPie Ninja says:
There are a couple of things you can try that your admin may have overlooked: Writing your commands in notepad and saving them as .bat The "Run" button in the start menu, just type cmd.exe where the text box is I'm trying to find other ways around admin restrictions at my school, but I really don't have to anymore after I found out the Admin password :P Hope this helps
May 22, 2009. 4:29 PMPie Ninja says:
Black Magic :D (It was a stroke of luck actually) Also, you could try writing your batch files at home and converting them to .exe using a converter.
May 22, 2009. 4:32 PMPie Ninja says:
Oh, you could try the net user command and typing the admin user name after it, like so; net user "admin user name" Obviously without the quotes, and if you're lucky you may find that it lists the password, (as well as other info from the last logon) it hasn't worked for me, but it has for some people.
Apr 27, 2009. 5:42 AMmitchell931993 says:
another way to do this is make a new trext file and save ti as command.bat just type in the text file : echo off command.com
Apr 21, 2009. 8:53 AMSublivious says:
Wow....that actually worked even when CMD is disabled by GPO. Kudos!
Apr 17, 2009. 2:30 PMlemonie says:
So this does use the normal CMD but modifies it? I'm interested as to how this bypasses blocks on running CMD (in technical detail) L
Apr 17, 2009. 7:52 PMagent says:
You will be able to run the commands through a "tunnel" (for lack of a better word). It is not the REAL command prompt, just runs whatever commands you tell it to. It's really hard to explain though. It might work, but it might not. Depends on the security.
Apr 18, 2009. 1:35 AMlemonie says:
Sorry, I misunderstood this If it's not using CMD what is the command-interpreter it is using? I suppose I should try it and find out! L
Apr 18, 2009. 7:07 AMPadlock says:
Cmd is really just a "launcher," for say. The commands that you type in are actually just the name of a program, with certain attributes after them. The same thing applies for a batch file- each command is a program, and the coding after it is just attributes the program is started with. When you set the variable in El Mano's CMD, it then takes it and runs the content of the variable. It's just like pressing (Windows Key) and R, except it has more functionality. However, some commands are built INTO command prompt, like echo. In a computer that actually has command prompt deleted, these inclusive commands should not work. If it just has it blocked, then it might would work, depending on the sophistication of the blocking program. If it allows SYSTEM user to run it, then it should work, but if it doesn't allow anyone to use it, then no it shouldn't work.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
7
Followers
7
Author:El Mano(Teenage Hypnosis)
El Mano is the masculine, albeit gramatically incorrrect, form of La Mano, which is Spanish for The Hand. I like to take ideas, whether theyre mine or not, and manipulate them to make them bett...
more »