Thread: Prompt
View Single Post
Old 08-16-2006   #3 (permalink)
Robert Fuchs


 
 

Re: Prompt

> Could you show the prompt as you would like it to appear in the shell?

set prompt=[%computername%]$s[%username%]$s$d$s$t$h$h$h$_$m$p$_$+$g

produces this prompt if C: is a local drive:

[ROBERT] [Bob] 16.08.2006 19:17:16
C:\WINDOWS\system32
++>

produces this prompt if X: is a network drive:

[ROBERT] [Bob] 16.08.2006 19:17:16
\\SERVER\C$ X:\WINDOWS\system32
++>

The ++ indicates that I'm two levels deep in pushd.

Thanks for your infos so far.

regards, Robert

My System SpecsSystem Spec