Displaying prompt

A

ArbolOne

I have edited and created the "Prompt key" in the registry to look
like this:

'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
\Environment\Prompt'

the Prompt value is 'prompt $t $d$_$p$g'

When I run cmd I get the value that 'prompt $t $d$_$p$g' is supposed
to display, but also the user's path. I don't want this current path
to be displayed, all I want is the time and date to be displayed. What
needs to be done? what am I missing?

Thanks in advance
 
A

Andreas Kästner [ack]

ArbolOne said:
the Prompt value is 'prompt $t $d$_$p$g'

When I run cmd I get the value that 'prompt $t $d$_$p$g' is supposed
to display, but also the user's path. I don't want this current path
to be displayed, all I want is the time and date to be displayed. What
needs to be done? what am I missing?

$p = show path

prompt /? show help about the prompt command

use "prompt $t $d$_$g"

hth
Andreas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top