News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Change your DOS/Command prompt

Started by charleychacko, October 15, 2006, 11:26:21 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

charleychacko

Are you sick of seeing the same old prompt whenever you go to the "DOS/Command Prompt" -- "C:\>" for example?
Here's how to change it to something more exciting:


If you're in Windows, go to the "DOS Prompt" or the "Command Prompt"
Type

PROMPT

followed by the format characters for your new prompt (only a few format characters are listed below to keep the compatibility. to find out all the codes available to you in your operating system, type "PROMPT/?" without the quotes and press ENTER):


$d -- current date
$t -- current time
$g -- ">" character
$p -- current path/directory


for example:

PROMPT $t $p $g


Press ENTER