Changing the DOS command prompt

All the options for changing the command prompt are, logically enough, shown by:

prompt /?

My current favorite, especially when my current directory path is quite long is:

prompt $P$_$T$G

$P is the path
$_ is a line feed
$T is the time
$G is a ‘>’

So my current command prompt would be, for example:

D:oracleproduct10.2.0db_1OPatchopatchprereqsoui
19:44:36.95>

Advertisements