• About Us
  • Search
  • Compatibility
  • Forums
  • Archive
  • Channels
  • Home
  • Search
  • Member List
  • Calendar
  • Help

Current time: 12-04-2008, 04:51 PM Hello There, Guest! (Login — Register)


Warp2Search - Your Daily Tech News Service / Hardware & Software / Windows 9x/Me/2K/XP/Vista / Windows XP Command Lines

Post Reply  Post Thread 
Threaded Mode | Linear Mode
Windows XP Command Lines
Author Message
EvilSECTOID
Unregistered


Post: #1
Windows XP Command Lines

here are some winXP command lines:

bootcfg
View your boot loader settings, such as your default OS and selection timeout, as well as your boot entries and load options.

defrag
You probably already guessed that this defrags your hard drive. Type only "defrag" into your command prompt to get a list of possible arguments, such as the drive letter and the type of output.
disk

diskpart
Manages your disk partitions. After you type "diskpart" into your command prompt, your prompt will become "DISKPART." Type a question mark to get a list of possible arguments. Type exit to leave diskpart.
driverquery
Will get you a nice list of your drivers and their properties.

fsutil
This is a handy command. You can do everything from managing your hardlinks to querying the free space in a volume. Type "fsutil" into your command prompt, and you'll see a list of options. I choose "fsinfo" from the list, so I type "fsutil fsinfo" into the prompt. Now I get even more options, but I choose drives by typing "fsutil fsinfo drives." It's fun, it's easy, and you'll get the hang of it. Explore this utility. There are a lot of cool features and hidden twists.

getmac
This gets the MAC (Media Access Control) address.

gpresult
Get the RSoP, user settings, and computer group policy settings.

netsh
A network configuration tool. Type "netsh" to enter the tool, or "netsh /?" to learn more about it. To exit this tool, type "exit" at the "netsh>" prompt.

openfiles
Allows an administrator to display or disconnect open files in XP professional. Type "openfiles /?" for a list of possible parameters.

recover
This command attempts to recover readable information from a damaged disk. Type "recover" to get the syntax.

reg
The console registry tool. Get syntax help when you type "reg" into the prompt. You can export the registry, copy, restore, compare, and more.

schtasks
The administrator can schedule, run, change, or delete tasks on a local or remote machine. Type "schtasks /?" without the quotes for a list of options.

sfc
The system file checker scans protected system files and replaces the ones you (or your applications) hacked beyond repair with the real, official Microsoft versions. Type "sfc" into the command prompt to get a list of options.

shutdown
You can shut down or restart your own computer, or an administrator can shut down or restart a remote computer. Type "shutdown" into your command prompt to see a list of possible
arguments.

systeminfo
Basic system configuration information, such as the system type, the processor type, your time zone, your virtual memory settings, and much more.

tasklist
Want to know what's going on behind the scenes? Type "tasklist" into the command prompt, and get a list of current processes.

taskkill
Now that you know what's going on behind the scenes, maybe you want to shut a few of these extraneous tasks down. That's where
taskkill comes in. Type "taskkill /?" for a quick lesson in the syntax of the command, then shut down all those random processes. I just killed my MS messenger by typing "taskkill /PID 1680." I got the PID from running tasklist, above.

--------------------------------------

Using the Command Prompt
Here are some tips for people who don't want to leave behind their command prompts.


* In addition to the MS-DOS standards . and .., there are two new
directory symbols:
* ... is the parent directory, once removed
.... is the parent directory, twice removed
* You can drag and drop files to the Command Prompt. The file name
appears in the keyboard buffer.
* To have a batch file run each time you enter the Command Prompt, click
properties for the Command Prompt and enter its name under
program/batch file. Then put your favorite utilities, for example
Doskey, into the batch file.
* You can run windows programs from the Command Prompt. You can also
open folders by typing "start ." or "start .." at the prompt. The
start command can even run programs or documents.

09-05-2002 02:46 AM
Quote this message in a reply
cablefaria
Unregistered


Post: #2
Sweet...

Uhmmm, interesting... are there more that prove to be usefull...

09-05-2002 07:01 PM
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

Contact Us | Warp2Search.Net | Return to Top | Return to Content | RSS Syndication

Powered By MyBB
Copyright © 2002-2008 MyBB Group