• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Displaying prompt

A

ArbolOne

Flightless Bird
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
 
B

Bob I

Flightless Bird
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
 
A

Andreas Kästner [ack]

Flightless Bird
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
 
Top