Windows

Explore the Windows 2000 Professional command console

Investigate the Windows 2000 Professional command console and get a handle on powerful options such as services control and directory listings. Here's how to find some of your most useful commands from the console.

Windows 2000 Professional includes several console commands you can use for a wide variety of tasks, from listing a directory to starting and stopping services (just to name a few). In most cases, these commands support a few or sometimes several command-line switches or options that control the way the command functions. Just knowing what options are available is a big part of using a command or utility.

You can use the /? switch with most commands to determine the command syntax and available options. The result is an on-screen display of the command's syntax and options. In cases in which there are too many parameters to fit on the screen, you can use the MORE command or export the list to a text file you can open in Notepad. For example, use the following command to display the syntax and options for the XCOPY command, piped to the MORE command for a page-by-page display:

XCOPY /? | MORE 

Use the following command to export the syntax and options to a text file for viewing in Notepad (use >> to append to the file, if desired):

XCOPY /? > XCOPY.TXT

Miss a column?

Check out the Windows 2000 Professional archive, and catch up on all the W2K Pro columns.

Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!

9 comments
tedatwork
tedatwork

I have a suggestion for your next article. Call it "Master Windows Administration" and then in the article just say: "Go to Start>Program Files>Administrative Tools and learn all the MMCs, what they do, and how they do it." I am so sick of these complete useless articles that don?t actually say anything.

deepsand
deepsand

If not, give a 1; unfortunately, zero's not available. Actually, I'd like to be able to give it a [b]negative[/b] rating.

mcole01
mcole01

What a total and utter waste of my time, energy, and the electricity to run my computer! I expect much better of TR. You have the gall to call this arrant piece of fluff an ARTICLE???

deepsand
deepsand

If not, give a 1; unfortunately, zero's not available.

ali40961
ali40961

How about a COMPLETE article explaining what the command console is, does, how to get to it, how to use it, ETC????????????????

ali40961
ali40961

This article is supposed to show "how to find some of your most useful commands from the console"? Seems to me it ONLY tells us how to get more info about a command, not HOW TO FIND commands. Or maybe I missed something.....

deepsand
deepsand

I gave it a 1; if possible, I'd have given it a zero!

Editor's Picks