Displaying prompt

  • Thread starter Thread starter ArbolOne
  • Start date Start date
A

ArbolOne

Guest
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
 
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
 
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
 
Back
Top