From: ArbolOne on
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
From: Bob I on
At the command prompt enter

PROMPT /?

it will be apparent

ArbolOne wrote:

> 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

From: Andreas Kästner [ack] on
ArbolOne schrieb:

> 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