Make a batch file named mcd.bat with these lines in it and make sure it is in
your path:
@echo off
cls
cd %1
for /f "Tokens=*" %%i in ('CD') do set CurDir=%%i
title %curdir%
Start a command window and type mcd. That should changet the title to the
current dir. When you want to change directories, use mcd instead of cd.
(info found at
http://www.jsifaq.com/subj/tip4600/rh4603.htm)
Ed
In article <(E-Mail Removed)>, "DbDutch" <(E-Mail Removed)>
wrote:
>Is it possible to change the title of the command prompt to reflect the
>current directory?
>
>I can use $P$G to get the current drive and directory, but that eats up
>screen real estate. I have tried adding $_ which acts like and CrLf, but I
>don't like it as much.
>
>I realize this is petty, but just curious. I tried changing the properties
>of the shortcut, but came up empty.
>
>All thoughts, flames, and ideas gratefully accepted.
>
>
>