PC Review


Reply
Thread Tools Rate Thread

Displaying prompt

 
 
ArbolOne
Guest
Posts: n/a
 
      30th Apr 2010
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
 
Reply With Quote
 
 
 
 
Bob I
Guest
Posts: n/a
 
      30th Apr 2010
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


 
Reply With Quote
 
Andreas Kästner [ack]
Guest
Posts: n/a
 
      30th Apr 2010
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying a Date Prompt/Criteria in Report Header Nancy Microsoft Access Reports 2 15th Jan 2009 05:02 PM
suppressing privacy options prompt and updates prompt after instal Matt Emry Microsoft Outlook Installation 1 17th Apr 2008 03:25 PM
Prompt for document properties Save opion fails to prompt =?Utf-8?B?Ui5FdmFucw==?= Microsoft Word Document Management 6 18th Aug 2006 12:17 AM
Changing prompt from C:\documents and settings\ to C:\ within command prompt Nulligan@gmail.com Windows XP General 4 1st Aug 2006 08:10 PM
Password prompt when clicking back after displaying word docin bro =?Utf-8?B?TWFydHk=?= Microsoft Frontpage 3 14th Jul 2005 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 PM.