How to Make the BEST Command Prompt (cmd)
Intro: How to Make the BEST Command Prompt (cmd)
Hello, everyone!
Today I will show you how to make one of the BEST CMDs ever.
Please rate this Instructable, by the way!
Today I will show you how to make one of the BEST CMDs ever.
Please rate this Instructable, by the way!
STEP 1: Materials
Here's what you need:
• Computer
• Text editor (Can be simple, I'm using Notepad for Windows)
• You
• Keyboard (Optional, see step 2)
• Mouse (Optional, see step 2)
• Hand(s)
If you have most of the above, (must include computer, keyboard/mouse and hand[s]) then you can click Next Step
• Computer
• Text editor (Can be simple, I'm using Notepad for Windows)
• You
• Keyboard (Optional, see step 2)
• Mouse (Optional, see step 2)
• Hand(s)
If you have most of the above, (must include computer, keyboard/mouse and hand[s]) then you can click Next Step
STEP 2: The Code
Ok. Here's the code (copy between the stars) then I will explain:
***********************************************************
@echo off
cls
title Command Prompt - by account3r2
ver
echo (C) Copyright Microsoft Corp.
echo.
:cmd
set /p "cmd=%cd%>"
%cmd%
echo.
goto cmd
********************************************************
Yes, about step 1... You can use the mouse to copy, paste and save the file. Or you can just use the keyboard, using MouseKeys or shift-select then CTRL-C and CTRL-V.
***********************************************************
@echo off
cls
title Command Prompt - by account3r2
ver
echo (C) Copyright Microsoft Corp.
echo.
:cmd
set /p "cmd=%cd%>"
%cmd%
echo.
goto cmd
********************************************************
Yes, about step 1... You can use the mouse to copy, paste and save the file. Or you can just use the keyboard, using MouseKeys or shift-select then CTRL-C and CTRL-V.
STEP 3: The Explanation
@echo off ----- This tells the computer not to display commands unless it is told to do so.
cls ----- This clears any text on the screen.
title Command Prompt - by account3r2 ----- Displays the text after "title" on the title bar.
ver ----- Displays the version of Windows you are running.
echo (C) Copyright Microsoft Corp. ----- Echo displays text, The rest just says the Microsoft has copyright.
echo. ----- Echo with a period after it skips a line, like pressing enter twice does.
:cmd ----- Sets a point to access called "cmd".
set /p "cmd=%cd%>" ----- Makes a line you can type on, then saves what you typed tempararily into "cmd".
%cmd% ----- Does the command you typed.
echo. ----- Still skips a line.
goto cmd ----- Goes to the access point set called "cmd"
cls ----- This clears any text on the screen.
title Command Prompt - by account3r2 ----- Displays the text after "title" on the title bar.
ver ----- Displays the version of Windows you are running.
echo (C) Copyright Microsoft Corp. ----- Echo displays text, The rest just says the Microsoft has copyright.
echo. ----- Echo with a period after it skips a line, like pressing enter twice does.
:cmd ----- Sets a point to access called "cmd".
set /p "cmd=%cd%>" ----- Makes a line you can type on, then saves what you typed tempararily into "cmd".
%cmd% ----- Does the command you typed.
echo. ----- Still skips a line.
goto cmd ----- Goes to the access point set called "cmd"
STEP 4: Saving the File
Now we will save the file.
First, press file. (OR Alt+F)
Next, press Save or Save As... (OR S) (OR Just Press CTRL+S at #1)
Then, Type a name like "whatever.bat" or "CMDPRMPT.bat" but whatever it is put .bat at the end (you can use on screen keyboard for this)
After that, press save.
First, press file. (OR Alt+F)
Next, press Save or Save As... (OR S) (OR Just Press CTRL+S at #1)
Then, Type a name like "whatever.bat" or "CMDPRMPT.bat" but whatever it is put .bat at the end (you can use on screen keyboard for this)
After that, press save.
STEP 5: Running the Program
Next you run the program by double clicking it or by selecting it and pressing enter.
It should look like the picture below.
It should look like the picture below.
STEP 6: Suggestions? Updates?
If anyone has any suggestions or updates for this program, please leave a comment below. Feel free to leave any comments for anything else, and again, please rate this! Thanks!
23 Comments
Artgirl200 4 years ago
Real beginner here, can you tell me how to make a script that just pastes text, so I dont have to write the same thing over and over again? Thanks
www.hackercreations.com
lemonie 13 years ago
There isn't anything like enough in this to be worth posting. Stuff like this is all over the internet anyway - what can you write that's something new / different / clever?
L
kodybrown 9 years ago
Using this code enables you to make changes to your prompt that you wouldn't otherwise be able to. For instance:
@echo off
:main
cls
title Command Prompt - by account3r2
echo Command Prompt - by account3r2
ver
echo (c) Microsoft Corporation. All rights reserved.
prompt=$P$G
:cmd
set /p "cmd=%cd:\=/%>"
call %cmd%
goto :cmd
unknownvan 5 years ago
account3r2 13 years ago
lemonie 13 years ago
L
PrashantS63 8 years ago
HOW GET NEAREST IP ADDRESSES
unknownvan 5 years ago
ProG11 7 years ago
how can i make my OWN commands and only run my OWN commands (not windows commands)?
unknownvan 5 years ago
Mr.C27 6 years ago
Can you make it so the .bat file runs as administrator I am using school computers and ur the bets its Just I try to change the admin password and it says acess denied error code 5
unknownvan 5 years ago
HYBR1Dx2 7 years ago
so. I try to put " prompt _: " in and it does not work ;-; FICKS ITTTTTTT
HYBR1Dx2 7 years ago
nvm. Just had to change cmd=(stuff) to cmd=_:
PrashantS63 8 years ago
PLs Tell Me How Get Some One Nearest IP Addresses
CmdHtmlProVbs 8 years ago
If you want a net work ip just do followings:
1. net view (You will see every person on your network)
2. tracert NAME (You'll see the person(s) pc name in net view)
3. Lookup the ip who you traced in your network simple :D
Prof. Pickle 11 years ago
account3r2 10 years ago
Prof. Pickle 10 years ago
asharma97 10 years ago
"arp -d"
and i want to set a time after which it automatically starts at regular interval at background
can you tell me the coding for this