Windows Guides: Windows Command Prompt

May 14, 2012 by in Windows Guides

windows command prompt

By Rich Robinson for Windows Guides

Windows Command Prompt—Beginner’s Guide

Previously, we asked you if you use the Windows command prompt and many of you answered by saying you do not. For those that do use the command line interface (CLI), many use it infrequently. In this guide: we’ll go through the basics of the command prompt, show you examples of how you can use its potential, and show you how to customize it.

Familiarize Yourself with the Command Prompt

windows command prompt guide 1

Before you start using the command prompt, I recommend you learn the basic shortcuts and commands. The first guide, listed below, shows you how to access the command prompt. If you’re familiar with how to get to the command prompt already, you can skip this guide.

How to open the command prompt

Basic Commands
Now you have the command prompt in front of you, let’s go through a series of commands to help you navigate:

Unless you changed your home or working directory, you’ll see you start in your home folder (usually something like C:\Users\Rich)

1. Type cls to clear the command prompt
2. Type ver to view the Windows version you are currently using
3. Type dir to view the contents of the directory (folder) you are currently in
4. Type cd .. to change directory to the parent (folder above) i.e. from C:\Users\Rich to C:\Users
5. Press the up arrow twice to list your second from last command (dir) and press Enter. You’ll now be viewing the contents of the C:\Users folder
6. Type cd Public to change to the Public folder
7. Type md test to create a “Test” directory in C:\Users\Public (optionally type dir again to view it in the listing)
8. Type ren test test2 to rename the test folder to test2
9. Type rd test2 to remove the directory you just created and renamed
10. Type copy “C:\Windows\System32\Bubbles.scr” BubblesCopy.scr to copy the bubbles screensaver from the Windows directory to your Public directory (note: If you don’t specify a path for the file, the directory you are currently working in is used)
11. Type dir to view the contents of the public folder again. Do you see the Bubbles.scr file?
12. Type del BubblesCopy.scr to delete the bubbles screensaver from your Public folder
13. Type echo All Done! to print “All Done!” on the command line interface

Article Continued Here

This excerpt appears with the permission of Windows Guides.

windowsguides

About Windows Guides

Founded in 2008, Windows Guides is a place for PC users, of all skill levels, to come and top up their Windows skills by learning the ins and outs of the world's most popular operating system. Windows Guides helps you be more productive by fine tuning your PC to meet your every day computer needs. Users can sign up for the regular newsletter filled with how-to guides and join the community of PC enthusiasts who want to take their understanding to the next level. Even the most knowledgeable PC geeks are sure to learn a thing or two at Windows Guides.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Sign up for our FREE Newsletter

Our weekly newsletter is packed with computer tips & tricks.
As a bonus, receive monthly emails with exclusive offers.

Which device is the most important to you?

View Results

Loading ... Loading ...


Scan with PC Matic

Contributors