A Beginners Guide To The Command Prompt

4089 words - 17 pages

A beginners guide to the Command Prompt
Most Windows users don’t know what the Command Prompt is or how to use it. This is a beginners guide to using the Command Prompt.
What is the Command Prompt? The Command Prompt is a native Windows program that lets you execute commands without using a GUI. You can accomplish pretty much every task you can do using Windows and the mouse from within the Command Prompt. The Command Prompt gets its roots (arguably) from a combination of MS-DOS and UNIX. Consider it “Windows without the windows. ” I will provide you with a beginners tutorial of some simple commands to familiarize you with the Command Prompt.

The first step is to actually open the ...view middle of the document...

“CP” stands for copy and it can be used to copy individual files from one location to another. To copy a file, type copy filename destination. So if you had a file named test.txt in your My Documents folder and you wanted to copy it to the Desktop you would type copy test.txt ../Desktop
The del command stands for delete. So to delete the test.txt file from your desktop type cd ../Desktop and then type del test.txt

“mkdir” stands for make directory. To make a new folder type mkdir foldername
“rmdir” stands for remove directory. To remove a folder and its contents, type rmdir /s foldername

“ren” stands for rename. To rename a file type ren oldfilename newfilename

Let’s move on to a more difficult task. Let’s copy our My Videos folder from My Documents to the Desktop. To do this, navigate to your username directory by typing cd .. until you get there. Now type cd My Documents to get into the My Documents directory. To copy the My Videos directory to the Desktop you need to type xcopy “My Videos” “../Desktop/My Videos” /s /i

Here’s a summary of what you can now do using the command prompt:
cd change directories
dir see a list of all the files in one directory
copy copy a file from one location to another (don’t forget to include the file extension)
del delete a file (don’t forget to include the file extension)
mkdir make a new folder
rmdir remove a directory and its’ contents
ren rename a file
xcopy /s /i copy a directory and its contents from one location to another
NOTE: To see a list of many commands, just type help into the command prompt. To see a detailed list of all related commands type command/? so to see all the details of xcopy type xcopy/? If you would like to run an executable like Mozilla Firefox navigate to the directory containing the executable and simply type it in. So type: C:/Program Files/Mozilla Firefox/firefox.exe

If you would like to learn more about the command prompt here is the documentation from Microsoft. What other commands do you think are useful for beginners? Tell your side in the comments.
Read more: Windows, Productivity
Trackbacks & Pings
1. The Better Geek » Command Line for the Queasy on 01 Feb 2007 at 11:17 pm
[…] A Beginners Guide to Command Prompt [CodeJacked] […]
Comments
1. naved wrote:
i like the guide. i was trying to learn command prompt from so many days now i have a good guide. thanks
Posted 22 Apr 2007 at 4:50 am ¶
2. Luis Duarte wrote:
Thank you so much.
Best guide that I found to Command Prompt.
Really nice job.
Many thanks once more.
Posted 26 Apr 2007 at 3:28 pm ¶
3. marmelo wrote:
Hi,
Your guide is very good indeed, but I have a doubt… I have to run several instances of an application in a Windows server 2003. Each instance of this application should run by launching a batch command file and thus a “command prompt” window stays open. I would like to identify each “command prompt”...

Other Essays Like A Beginners Guide to the Command Prompt

A Good Man Is Hard to Find (Study Guide)

3110 words - 13 pages A Good Man is Hard to Find Study Guide Significance of Title “A Good Man is Hard to Find,” is an appropriate title. The title is an illusion to a 1920s blues song by the same name, written by Eddie Green and sung by Bessie. The song comments on the rarity of faithful, committed men and the abundance of men who are impatient and disrespectful. Not only does the story discuss goodness but it also touches base on the lack of goodness

Reviewing a Handbook English as a Second Language Guide to Implementation: Kindergarten to Grade 9 in Alberta

2708 words - 11 pages | | | | Faculty Use Only Reviewing a Handbook English as a Second Language Guide to Implementation: Kindergarten to Grade 9 in Alberta A large number of refugee and immigrant students have come to Canada from all over the world. According to Citizenship and Immigration Canada Statistics (2006), about 1,500

A Letter To The Governor

584 words - 3 pages 11025 Skyway LaneAllendale Michigan, 49401Governor Rick SnyderP.O. Box 30013Lansing, MichiganDear Governor Snyder,Michigan has a long history with big corporations, many which have recently come under severe scrutiny. My generation has watched as numerous corporations fromEnron to GM have put their own interests first and have hurt many communities, families, and people in the process. What Michigan needs is not tax breaks and improvements for

The Narrator Debate: To Kill A Mockingbird

1642 words - 7 pages age. In accordance with this, Jenner Murray said, “ In no way can this summarizing voice be attributed to the child Scout; the narrator therefore establishes herself as a potential guide to our understanding and interpretation of events that go beyond the awareness of her childhood self” (Murray 2). Scout is still a child, but she leads the reader to comprehend certain incidents and actions in ways a child usually won’t be able to do. Lee used

The Internet: A Gateway To Helpful Knowledge

1076 words - 5 pages internet-based activities and classes. Works Cited Goldwasser, Amy. "What's the Matter with Kids Today." St. Martin's Guide to Writing. Vol. 9. Boston: Bedford/St. Martins, 2010. 286-88. Print. Jackson, Nicholas. "Infographic: How the Internet Is Revolutionizing Education." theatlantic.com The Atlantic, 13 June 2011. Web. 26 Feb. 2012. Kastenbaum, Steve. "EBook Lending: Libraries Go Digital." CNN. Cable News Network, 26 Oct. 2011. Web. 26 Feb. 2012. Olivarez-Giles, Nathan. "United Nations Report: Internet Access Is a Human Right." latimes.com. Los Angeles Times, 3 June 2011. Web. 26 Feb. 2012.

Computer a Boon to the Society

605 words - 3 pages Internet has become part of everyone's life as well. Combined with the power of the Internet and the ubiquitousness of the personal computers, the computer has become a boon to our society. It benefits our society in a number of ways such as making it convenient to access and process information and helping the economy. This essay will examine how the computer connected to the Internet benefits our society, i.e. how the computer is a boon to our

To Kill A Mockingbird Vs The Help

1309 words - 6 pages Singh 4Kanwar SinghEnglish 1Mrs. Daniels10 January 2012Thematic TopicsThe saying "never judge a book by its cover" is actually true. In reality books can have completely different titles, yet they can both share the same theme, or even multiple themes. To Kill a Mockingbird and The Help are two books which demonstrate this idea that books which may sound or seem completely different, may actually share the same theme. These two novels have many

The Journey to a New Beginng

1364 words - 6 pages Enedina Villagomez Instructor Cather Composition 1 21 September 2015 The Journey to a New Beginning I am by myself wearing my torn blue jeans and an old flannel t-shirt like usual. It is cool outside, but I decided to leave my gloves at home feeling comfortable with my warm shirt and my old boots. Walking through my grandfather’s ranch, his spirt accompanies me at this moment. The breeze blowing across my face is the best that I can find. I

Case Study a Letter to the Manager

517 words - 3 pages Case Study (Chapter 1, page 17) Question 1 What are the real problems that the customer is highlighting? Firstly, the problem that customer highlighting is automatic debiting the customer account by way of penalty. This action cause the customer has to rethink his errant financial way. The bank should having a notice or inform to their customers before debiting any penalty. This may cause many of customers that face the financial problem to

A Pilgrimage from the Past to the Present

1994 words - 8 pages A pilgrimage from the past to the present Islam, a religion of the Muslims, is the fastest growing religion in the world with approximately 1.3 billion followers and growing. That is over one fifth of the world’s population. Islam, which originated from the common Arabic word know as Salaam, means Pease and a Muslim is one who submits to god. The religion teaches that its followers must submit to the will and laws of God to attain true

Define Ethics? Discuss the Importance of Ethics to a Designer

775 words - 4 pages consideration, in the field of design, there are three categorizations which a designer can use in order to make sure that his/her works are ethical. Professional behavior in business Ethics in Professional expertise Overall professional values Professional Behavior in business As a designer, there are guide lines of ethical conducts you should follow during your interactions with clients, employers and other

Related Papers

A Young Person's Guide To The Grading System

977 words - 4 pages “What does the grading system do for learning?” is a doubtful question that Jerry Farber, a professor of English and comparative literature at San Diego State University gives to the readers at the very first paragraph on his article, “A Young Person’s Guide to the Grading System”. For some reasons, he states that grades only focus students attention on the test itself; he suggests that students only push themselves to learn as far as the test

Chicago Theatre: The History Of And A Short Guide To Experiencing It

1239 words - 5 pages a goldmine called chicagoplays.com. It is based on the League of Chicago Theatres and includes 125 Chicago area theatres. You can get ½ price tickets to all league theatres and full price to all Ticketmaster events.They produce the Chicagoplays theater guide that is the most comprehensive listing of performances that I could find. It has show information, schedules, box office and group ticket numbers, and theater locations. It also comes

Six Lessons For Handling Stress(A User's Guide To The Brain)

490 words - 2 pages Human stress is inevitable. We will all experience some sort of stress some time or another. Stress is caused by many variables. Including work, a poor diet, lack of exercise and even a low self esteem. There are many ways of managing the stress in your life. A healthy diet will help to control the bad proteins entering your body. What you put into it, is what you get out of it. Bad proteins are very harmful to your body. This will affect your

Book Summary Of "A Spectator's Guide To Jesus"

1628 words - 7 pages John Dickson, an Honorary Associate in the Department of History in Macquarie University, unfolds the myths and the religiosity that often blurs the image of Jesus. Dickson explores the many roles and identities that are given to Jesus, healer, teacher, Christ. "A Spectator's guide to Jesus" is a book dedicated to discovering the truth to the most controversial religious topics, from Jesus' replacement of the temple, his divineness, meaning of