Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: How does command prompt work?

30 Nov 2009   #1

Windows 7
 
 
How does command prompt work?

any help, I have looked in the internet but the tutorials there are no good, HELP!

My System SpecsSystem Spec
.

30 Nov 2009   #2

Windows 7 Ultimate, OS X 10.7, Ubuntu 11.04
 
 

Quote   Quote: Originally Posted by Gackybelton View Post
any help, I have looked in the internet but the tutorials there are no good, HELP!
Well, what do you want to do with it? It has far to many uses to list.
My System SpecsSystem Spec
30 Nov 2009   #3

Win7
 
 

Quote   Quote: Originally Posted by Gackybelton View Post
any help, I have looked in the internet but the tutorials there are no good, HELP!

If you are familiar with DOS commands, you use them at the Command Prompt. If you don't know them, don't bother with it!!
My System SpecsSystem Spec
.


30 Nov 2009   #4

Windows 7 Home Premium
 
 

To enter the command prompt, click Start and type cmd or command in the Search programs and files box. You should see cmd.exe at the top of the list. Many commands have to be entered as administrator. To do that, right click cmd.exe and chose run as administrator or hold the ctrl & shift keys and click cmd.exe. Once you are in the command prompt you can type "help", without quotes, for a list of commands and a brief list of what they do. For more information about commands, type the command help and the command name. That will give you a list of the commands, parameters that can be used, what they do and how the command and parameters should be typed.
EAG1945
My System SpecsSystem Spec
30 Nov 2009   #5

Windows 7 Ultimate x64 x2 + x86 + Windows 8.1 x64 x2
 
 

Hi Gackybelton, and welcome to Sevenforums

For a basic guide to the command prompt in windows check put this link

The Windows Command Line, Batch Files, and Scripting- Using the Command Shell

one trick that can help is, if you need to find out more about a command line function type the name of the command and a space and /? or -h, this will open the help for the command ...

For example the dir command is used to display a directory listing of files in a folder the command dir /? gives this help page ....


Code:
C:\Users\Nigel>dir /?
Displays a list of files and subdirectories in a directory.

DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]
  [/O[[:]sortorder]] [/P] [/Q] [/R] [/S] [/T[[:]timefield]] [/W] [/X] [/4]

  [drive:][path][filename]
              Specifies drive, directory, and/or files to list.

  /A          Displays files with specified attributes.
  attributes   D  Directories                R  Read-only files
               H  Hidden files               A  Files ready for archiving
               S  System files               I  Not content indexed files
               L  Reparse Points             -  Prefix meaning not
  /B          Uses bare format (no heading information or summary).
  /C          Display the thousand separator in file sizes.  This is the
              default.  Use /-C to disable display of separator.
  /D          Same as wide but files are list sorted by column.
  /L          Uses lowercase.
  /N          New long list format where filenames are on the far right.
  /O          List by files in sorted order.
  sortorder    N  By name (alphabetic)       S  By size (smallest first)
               E  By extension (alphabetic)  D  By date/time (oldest first)
               G  Group directories first    -  Prefix to reverse order
  /P          Pauses after each screenful of information.
  /Q          Display the owner of the file.
  /R          Display alternate data streams of the file.
  /S          Displays files in specified directory and all subdirectories.
  /T          Controls which time field displayed or used for sorting
  timefield   C  Creation
              A  Last Access
              W  Last Written
  /W          Uses wide list format.
  /X          This displays the short names generated for non-8dot3 file
              names.  The format is that of /N with the short name inserted
              before the long name. If no short name is present, blanks are
              displayed in its place.
  /4          Displays four-digit years

Switches may be preset in the DIRCMD environment variable.  Override
preset switches by prefixing any switch with - (hyphen)--for example, /-W.
My System SpecsSystem Spec
30 Nov 2009   #6

Windows 7 Ultimate x86-64
 
 

Quote   Quote: Originally Posted by EAG1945 View Post
To enter the command prompt, click Start and type cmd or command in the Search programs and files box. You should see cmd.exe at the top of the list. Many commands have to be entered as administrator. To do that, right click cmd.exe and chose run as administrator or hold the ctrl & shift keys and click cmd.exe. Once you are in the command prompt you can type "help", without quotes, for a list of commands and a brief list of what they do. For more information about commands, type the command help and the command name. That will give you a list of the commands, parameters that can be used, what they do and how the command and parameters should be typed.
EAG1945
Its Ctrl+Shift+Enter at once.
My System SpecsSystem Spec
30 Nov 2009   #7

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

Type "Dos primer" into a google phrase search box for all kinds of introductions to the command prompt.
My System SpecsSystem Spec
02 Dec 2009   #8

Windows 7
 
 

thanks guys, barman, that site helped me alot thankyou!!
My System SpecsSystem Spec
02 Dec 2009   #9

Windows 7 Ultimate x64 SP1
 
 

That has to be the most vague question I've ever seen asked on a computing forum.
My System SpecsSystem Spec
02 Dec 2009   #10

Win7
 
 

Quote   Quote: Originally Posted by DeaconFrost View Post
That has to be the most vague question I've ever seen asked on a computing forum.
LOL! Exactly. Prompting someone to start using DOS commands, simply because they expressed confusion over what the command prompt is, seems premature at best; "dangerous" to the OP's Win installation at worst. Oh, well--it's not my PC!
My System SpecsSystem Spec
Reply

 How does command prompt work?





Thread Tools



Similar help and support threads for2: How does command prompt work?
Thread Forum
How to fix MBR through command prompt? General Discussion
Windows 7 logon Locked out Command Prompt Wont work General Discussion
Help needed executing command prompt command General Discussion
command prompt dosn't work General Discussion
Run administrative command prompt from command prompt General Discussion
Command Prompt command <ipconfig> not working Network & Sharing
Can't get this trick to work with a command prompt General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:05 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33