Sign in to follow this  
master_q

DOS Prompt

Recommended Posts

Here's something neat if you have nothing to do:

For my computer I have my DOS's prompt say . . .

Directory

Time

Date

How may I help you?

 

Here's how you do it:

 

C:\prompt $p$g$_$d$_$t$_How may I help you?

(with a space after the "?" mark)

 

The "p," "g," "d," "t," . . . mean:

 

P = Drive / Directory (or sub)

G = Greater Then (>)

L = Less Then (<)

T = Time

D = Date

 

You have to put in the "$" character before your command (for the p, g, l, t, d). Only put before and after when you use "_" to skip a line.

 

You can change your prompt through DOS (Disk Operating System) but when you close the MS-DOS prompt in Win it will not remain.

 

To have it stay there open autoexec.bat and add that prompt command to a new line. When you do this your prompt will be permanent and become your default prompt. (The autoexec.bat is just on the C:\ )

 

 

Master Q

StarTrek_Master_@yahoo.com

Edited by master_q

Share this post


Link to post
Share on other sites

I knew about adding time and date to the DOS prompt, but not the text. I will have to make the changes to my Windows 3.1 / DOS 6.22 machine.

 

Good times...

 

:cool:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this