Command Prompt on Any Windows Computer

Intro: Command Prompt on Any Windows Computer

Command Prompt is arguably the most important thing on Windows. Schools often block Command Prompt in the start menu and also deny access to it once you have figured out how to start it. I will show you how to get Command Prompt and, if it is blocked, i will show you how to make a simple batch file that will serve as Command Prompt.

Step 1: Starting Command Prompt

There are a couple of different ways to start Command Prompt. One way is to click start, then click start and type in "cmd" without the quotes. If your school doesn't have run in the start menu than you can create a shortcut to it by right clicking on the desktop (not an icon) and clicking New -> Shortcut. Where it says "Type the location of the item" type in "cmd", without the quotes. Then, in the next screen, type in a name for it such as "Command Prompt", or you can just leave it as "cmd.exe."

Step 2: Making Your Own Command Prompt

If neither of the things I listed in the last step worked or, when you started Command Prompt, it gave you the message "You do not have the privilege to use Command Prompt" or something similar to that, you can always make a batch file. The batch file is really very simple. Open Notepad and type this in:
@echo off
title Command Prompt
:top
set /p command="%cd%>"
%command%
goto top


After you have done this click File -> Save As... and save it as Command Prompt.bat or whatever else you want but make sure you save it with a .bat extension. Also, when you save it click the drop-down box below the file name and change the setting from Text Document (*.txt) to All Files. This is very important, for if you do not do this you won't have anything except a text file which will do nothing.

Step 3: There You Go

That is all you have to do to get command prompt at school or anywhere else you want it. I have the file here for you to download. It looks exactly like the real Command Prompt because I copied everything at the top of Command Prompt when you start it. I hoped you liked it and please leave comments if this was helpful to you. Message me if you would like to see make any more Instructables.

Share

    Recommendations

    • Plastics Contest

      Plastics Contest
    • Audio Contest 2018

      Audio Contest 2018
    • Optics Contest

      Optics Contest

    4 Discussions

    0
    None
    Ce0pwd

    2 years ago

    OMG IT WORKS FIVE STARS I LOVE THIS THANKS

    0
    None
    tabascow

    6 years ago on Introduction

    lol love it! im goin to try this five stars!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    0
    None
    pbooncharoen

    7 years ago on Step 3

    This has more option.

    Code is here.
    @echo off
    :R
    title Register:Username
    cls
    echo Please register.
    set /p user=Username:
    if '%user%'=='' goto R

    :R2
    title Register:Password
    cls
    echo Please register.
    echo Username:%user%
    set /p pass=Password:
    if '%pass%'=='' goto R2

    :R4
    title Final step.
    cls
    set /p class=Do you want to be admin user. (y/n):
    if '%class%'=='y' goto R6
    if '%class%'=='n' goto R6

    :R5
    title Please select class
    cls
    set /p class=Do you want to be admin user. (y/n):
    if '%class%'=='y' goto R6
    if '%class%'=='n' goto R6
    goto R5

    :R6
    if '%class%'=='y' title %user% (administrator)
    if '%class%'=='n' title %user% (standard)
    echo Your account '%user%'has been created.
    pause
    cls

    :A
    title Login
    echo Please login.
    set /p u=Username:
    set /p p=Password:
    if '%u%'=='%user%' if '%p%'=='%pass%' goto B
    cls
    echo Invalid username or password.
    pause
    cls
    goto A

    :B
    title Welcome %user% (%standard%)
    if '%class%'=='y' goto C
    cls
    echo You are now logged in as %user%.You are a standard user.
    echo +-------------------------------------------------------------+-------+-------+
    echo + Please select a program to run. + _ + x +
    echo + +-------+-------+
    echo +------+----------------------------------------------------------------------+
    echo +Button+ Program +
    echo +------+----------------------------------------------------------------------+
    echo + c + 1.Command Prompt +
    echo + w + 2.Microsoft Office Word +
    echo + e + 3.Microsoft Office Excel +
    echo + p + 4.Microsoft Office PowerPoint +
    echo + i + 5.Internet Explorer +
    echo + l + 6.Logout +
    echo + r + 7.Register new account +
    echo +------+----------------------------------------------------------------------+
    echo Press x to exit.
    set /p run=
    If '%run%'=='c' goto adminreq
    If '%run%'=='w' goto adminreq
    If '%run%'=='e' goto adminreq
    If '%run%'=='p' goto adminreq
    If '%run%'=='i' start iexplore.exe
    If '%run%'=='l' goto A
    If '%run%'=='r' goto R
    If '%run%'=='x' goto exit
    cls
    goto B

    :cmd
    set /P the="%cd%>"
    %the%
    echo.
    goto cmd

    :C
    title Welcome %user% (administrator%)
    if '%class%'=='standard' goto B
    cls
    echo You are now logged in as %user%.You are a admin user.
    echo +-------------------------------------------------------------+-------+-------+
    echo + Please select a program to run. + _ + x +
    echo + +-------+-------+
    echo +------+----------------------------------------------------------------------+
    echo +Button+ Program +
    echo +------+----------------------------------------------------------------------+
    echo + c + 1.Command Prompt +
    echo + w + 2.Microsoft Office Word +
    echo + e + 3.Microsoft Office Excel +
    echo + p + 4.Microsoft Office PowerPoint +
    echo + i + 5.Internet Explorer +
    echo + l + 6.Logout +
    echo + r + 7.Register new account +
    echo +------+----------------------------------------------------------------------+
    echo Press x to exit.
    set /p run=
    If '%run%'=='c' goto cmd
    If '%run%'=='w' start WINWORD.EXE
    If '%run%'=='e' start EXCEL.EXE
    If '%run%'=='p' start POWERPNT.EXE
    If '%run%'=='i' start iexplore.exe
    If '%run%'=='l' goto A
    If '%run%'=='r' goto R
    If '%run%'=='x' goto exit
    cls
    goto C

    :exit
    title Exiting...
    exit

    :adminreq
    echo You need to login with admin user to run this program.
    echo "b"=back Enter key to exit
    set /p b5=
    If '%b5%'=='b' goto B
    exit

    0
    None
    xXnocturnusXx

    8 years ago on Step 2

    my school is extremely paranoid (for good reason) and blocks .bat files...is there any other way to save it?