Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


April 11, 2007

Customize the Windows Command Shell

Streamline your command-line efforts
RSS
View this exclusive article with VIP access -- click here to join |
See More Scripting Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

Microsoft OSs have used a command-line interface ever since the company released its first version of DOS. In MS-DOS (and even in Windows Me, Windows 98, and Windows 95), the primary command shell was command.com. Starting with Windows NT, Microsoft provided a command shell called cmd.exe. Cmd.exe is a Windows console program, which means that it uses a text-based window (technically known as a console window), as opposed to a graphical window, for its input and output. A cmd.exe console window looks similar to an MS-DOS command prompt, but the resemblance is merely superficial. Cmd.exe is much more powerful and more customizable than its MS-DOS predecessor.

You can customize the command shell in one of two main ways:

  • The console window—Windows provides a dialog box with four tabs that let you configure cmd.exe's console window in various ways. Most of these changes aren’t specific to cmd.exe but instead relate to console programs in general.
  • The cmd.exe command—Cmd.exe provides some handy features that you can customize to suit your preferences. These features make working from the command line easier than ever.

Customizing the Console Window
Windows provides a tabbed dialog box that gives you several options for customizing the command shell console window's appearance and behavior. To access this dialog box, right-click the command window’s title bar and select Properties. The dialog box that opens contains four tabs: Options, Font, Layout, and Colors. (If you right-click the cmd.exeshortcut icon and select Properties, Windows adds shortcut-related tabs to the dialog box, but I won't discuss those here.) The Font and Colors tabs are self-explanatory, but the Options and Layout tabs require some clarification. . . .

Reader Comments
Excellent – more please

chrisj@biopath.co.za April 11, 2007 (Article Rating: )


it would be nice if I could view it

sfinnigan April 12, 2007 (Article Rating: )


what

jseptoff April 23, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

New Microsoft/Yahoo! Deal? No

On Sunday, the Times of London reported that Microsoft had renewed talks with failing Internet giant Yahoo! and would manage its search engine for 10 years, while Yahoo! would retain control of its email, messaging, and content services. This report ...

How can I stop and start services from the command line?

...


Related Articles Using Bzip2 Compression with Cmd.exe and PowerShell

Related Events Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing