Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change command prompt and make it permanent? 1

Status
Not open for further replies.

Trevoke

Programmer
Jun 6, 2002
1,142
US
In the days of yore, the command:
PROMPT $D$T$_$P$G
would give us:
Thu 01/29/2009 2:19:08.56
C:\Documents and Settings\username>

as a prompt. That rocks. Now .. How do I make it permanent? Either I screwed up, or putting it into autoexec.bat is not enough. Any ideas?


Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters)
What is the nature of conflict?
 
You can use the AutoRun feature. The link below may help:


All you have to do is create a Registry String called AutoRun under:

HKEY_CURRENT_USER\Software\Microsoft\Command Processor
or
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor

and populate it with your PROMPT script above.

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
u can set that permanent systemwide under
my computer-properties-advanced-system variables. choose new, name i.e prompt, argument $D$T$_$P$G
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top