How to Create Your Own Command Prompt in Windows Xp

130,276

18

69

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
cls

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

%cmd%
echo.
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.

2 People Made This Project!

Recommendations

    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest
    • 1 Hour Challenge

      1 Hour Challenge
    • Backyard Contest

      Backyard Contest

    69 Discussions

    0
    None
    TheBatchies

    9 years ago on Step 2

    I take NO responsibility for this!! NONE!

    @echo off
    :p
    start iexplore.exe
    goto p

    1 reply
    0
    None
    mrroostoakTheBatchies

    Reply 2 months ago

    like this most usefull batch file ever. lol. now its edge, worst than iexplorer

    0
    None
    mrroostoak

    2 months ago

    It also work on different Windows OS like windows 10. I tested it. But I have a question: I want to when i execute the batch file it start the cmd.exe in admin mode, how can i do that ( i know i can use right-click > execute as admin but i don't want ;p). Ik thats not secure but f*ck off. And yeah, this article was writed like 12 years ago and i dont care ma boiii

    0
    None
    SkyDevelL

    4 years ago on Introduction

    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.

    2 replies
    0
    None
    TuxmascotSkyDevelL

    Reply 4 years ago on Introduction

    Dude, this was seven years ago. I do Artificial Intelligence research now and I find that people still commenting on this hilarious.

    0
    None
    IceGTuxmascot

    Reply 2 years ago

    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

    0
    None
    Johanvr

    3 years ago

    I love how so many of you rant and rave about how simple this program is.

    So what? Nobody forced you to even click on this article.

    The title is very clear, hopefully it didn't fool you into believing that you'll learn something to enhance your advanced programming skills.

    I like it.

    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.

    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).

    So many trolls, so little time.

    0
    None
    Johanvr

    3 years ago

    Nice!

    0
    None
    Oakley

    11 years ago on Step 2

    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

    5 replies
    0
    None
    jbautista13Oakley

    Reply 5 years ago on Introduction

    If cmd.exe and command.com is not available, that will not work, bro. Nice try, though (NO OFFENSE!).

    0
    None
    mooglegirl3Oakley

    Reply 11 years ago on Introduction

    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.

    0
    None
    JoeMartinimooglegirl3

    Reply 10 years ago on Step 2

    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

    0
    None
    Tuxmascot

    7 years ago on Step 2

    I made this when I was a little kid in elementary school lol! I didn't think people would read it this much.

    1 reply

    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 =)

    0
    None
    account3r2

    8 years ago on Step 2

    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

    3 replies
    0
    None
    Tuxmascotaccount3r2

    Reply 7 years ago on Step 2

    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.

    0
    None
    account3r2Tuxmascot

    Reply 7 years ago on Step 2

    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.