Monday, November 22, 2004

ComputerZen.com - Scott Hanselman's Weblog - Setting the Title of the "DOS" Command Prompt from a Batch File

ComputerZen.com - Scott Hanselman's Weblog - Setting the Title of the "DOS" Command Prompt from a Batch File

"Just a small reminder for myself and others that you can set the title of the Command Prompt Window with the 'TITLE' Batch Command.

Since I'm building three different branches of our SDK during dev, it's nice to differentiate all these windows on all these monitors.

For example here's 'mybuild.bat'

TITLE Building VoyagerFramework 2.0
set BUILDDIR=C:\dev\VoyagerFramework\build
call BUILD.BAT %1 %2 %3 %4 %5"


You learn something every day... Nice tip.

Updating some of my command files now.

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...