How To: Customize Background Color to Admin Command Prompts in Windows Vista

If you often work with the command prompt within Windows Vista, or with DOS(Disk Operating System) applications that run in Windows, you don’t need to settle for the same old boring white text on black background. It’s easy to customize your Windows Vista command prompt and save the changes so that you get the same look and feel each time you open it.Here is the easy way to customize the command prompt window in Windows Vista.

original

You can also customize command prompt window in Windows Vista using a batch file:

@echo off
pushd %SystemRoot%\System32
set ADMINTEST=~~4uDude.JHP
:START
MD %ADMINTEST% > NUL 2>&1
if exist %SystemRoot%\System32\%ADMINTEST% GOTO ADMIN
GOTO END
:ADMIN
color 4f
RD %ADMINTEST%
:END
set ADMINTEST=
popd

Basically this batch file is a simple test if you have admin right by trying to create a folder under system32 which a non-admin would not have rights to do.  If successful it will change the background color to red. You could do this a number of different ways, but this gives you the concept.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Popularity: 2%

Did You Like This Post? Then You Might Find These Also Interesting:

Written by Tony on November 15th, 2008 with no comments.
Read more articles on Vista Appearence.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .