1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Displaying prompt

Discussion in 'Windows XP' started by ArbolOne, Apr 30, 2010.

  1. ArbolOne

    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
     
  2. Bob I

    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
     
  3. Andreas Kästner [ack]

    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
     

Share This Page