BACK TO PCSTATS + Motherboards
+ Videocards
+ Memory
+ Beginners Guides
News & Advanced Search  Feedback?
[X]   Directory of
Guides & Reviews
The PCstats Forums

Beginners Guides
Weekly Newsletter
Archived Newsletters

+70 MORE Beginner GUIDES....
Poll: Windows 7
Have you Upgraded to Windows 7?
yes, love it!
nope, staying put
yes, but not happy
Total Votes:  806

 
 [NEW!] 
Gigabyte GA-P55A-UD4P Intel P55 Express Motherboard Review
Beginners Guides: WindowsXP Command Prompt
Beginners Guides: WindowsXP Command Prompt - PCSTATS
Marketplace: $/£/€ Price Search
Abstract: Back in the heyday of text-based operating systems like Unix and DOS, the command prompt was the operating system.
 Manufacturer:  Category:  Published:  Author: 
  PCstats   Beginners Guides   Feb.05.2005   Mike D.  

Creating and Deleting Folders and Files

You can create and delete folders within the command prompt by using the make directory 'MKDIR' and remove directory 'RMDIR' commands. Making a directory is as simple as typing: MKDIR (directory name)

And to remove an empty directory type: RMDIR (directory name)

Note that like all command prompt commands, these depend on your current location in the command prompt. So if you were at C:\> and typed 'MKDIR myfolder', you would have created 'C:\myfolder'. If you were at 'D:\mydata>' and typed the same command, you would create 'D:\mydata\myfolder'. You can speed things up by adding paths to the command, as we did with 'CD' above.

type: MKDIR windows\system32\drivers\creative

From the C:\> prompt will create the 'creative' directory in 'windows\system32\drivers'. Note that when you use the MKDIR command in this way, any folders in your command that do not exist will be created. For example, if you typed: MKDIR windows\mike\mikedrivers the 'mike' and 'mikedrivers' directories would both be created.

The DEL command can be used to delete files within the directories you create. Typing 'del (directory name)' will delete all files in that directory, while typing 'del (filename)' will delete that file. You can add directories to the path of the DEL command, for example:

type: DEL windows\mikedir\mikedrivers\mike1.exe

This would delete the 'mike1.exe' file within the directory 'windows\mikedir\mikedrivers\'.

Running Programs Within the Command Prompt

The second part of PCstats Guide to the Windows XP Command Prompt will deal with several command prompt utilities that can make dealing with Windows much easier, especially when networking. To run a utility in the command prompt, you need only type its name. For example; MKDIR, DEL and CD are all little programs that you have already run from the command prompt. Generally you need to be in the same directory or folder as the command file (.EXE, .COM or .BAT) for an application you want to run when you type its name, but the command prompt uses a system taken from previous versions of DOS (and older OS) to ensure that this is not always necessary.

A 'path' statement is automatically loaded with the command prompt, telling it to always look in certain locations on the disk when the user types in a command. For example, without this path statement, when you type: DEL windows\system32\mikefile.txt the command would only work if you were currently in the folder containing the DEL command file.

With the path statement, the system knows to check certain directories for command files each time the user types something. As long as it finds the DEL command somewhere within these directories, the entry above will work.

< Previous Page © 2010 PCSTATS.com
Please respect the time and effort that went into creating each PCSTATS Beginners Guide, do not illegally copy. Thank you.
Next Page >

Toss Some Change into The Tip Jar
For less than the cost of a latté you can let the hardworking staff who write and maintain the GUIDES at PCSTATS know that we've helped you out of a jam, or dished out a bit of great tech advice. Toss in $3 bucks, or whatever spare change you like.
 Pg 1.  Beginners Guides: WindowsXP Command Prompt
 Pg 2.  Part 1: Entering and using the Windows XP command prompt
 Pg 3.  Moving Between Folders
 Pg 4.  Switches and Command Help
 Pg 5.  — Creating and Deleting Folders and Files
 Pg 6.  Command Redirectors
 Pg 7.  More Handy CMD Commands
 Pg 8.  All About IPConfig
 Pg 9.  Tree and Netstat
 Pg 10.  Tasklist and SystemInfo
SEARCH PCSTATS NEW - TRY IT OUT!
Use the power of Google to search all of PCSTATS and the PCSTATS Forums. Tell us what you think of this new feature - FEEDBACK?

   09.02.10 | 3:31P
Hardware Sections 
· Beginners Guides
· Cases and Access.
· CD-ROMs
· Chipsets
· Computers / SFF PCs
· Cooling - Heatsinks
· CPU / Processors
· Digital Cameras
· Hard Drives
· Home Theatre
· Memory
· MP3 Players
· Monitors
· Motherboards
· Mouse Pads
· Networking
· Notebooks
· PCs and SFF PCs
· Peripherals
· Powersupply
· Printers
· Servers
· Software / OS
· Videocards
- - -
· Editorials
Industry PR 
» GIGABYTE Unleashes First UD7 Motherboard

» Seagate Ships 2TB ATA 6GB/s Hard Drive

» Corsair Obsidian Series 800D high-performance chassis


google
 
PCstats Network Features Information About Us Rydium Network
FrostyTech
TransmetaZone
BeginnersPC
RamFinder
ShoppingList Assistance
PCstats.com Newsletter
Tech Glossary
Technology WebSite Listings
About Us
Employment / Internships
Privacy Policy
PermaLink News
Archived News
Submit News (Review RSS Feed)
Site Map
PCstats Wallpaper
Suite66 Advertising Agency
Advertising

How's Our Driving?
© Copyright 1999-2010 www.pcstats.com All rights reserved. Privacy policy and Terms of Use.