IT tutorials
 
Windows
 

Windows 7 : Running Programs and Gadgets - Running Commands

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
1/2/2013 11:26:46 AM

In Windows 7, the command prompt is the place where you can execute command-line instructions. Most of the commands are the old standard MS-DOS commands, some are enhancements of the MS-DOS commands, and others are commands unique to Windows 7. When you need to work from the command prompt, you can open a command-prompt window and execute all your tasks there, including using the basic commands, starting a program, and even starting a program in a new window. Note that the command prompt is a powerful weapon that can disrupt your system, delete files, and create general havoc. Don't execute commands unless you know what they're designed for.

1. Run a Command

  1. Open a command-prompt window by choosing Command Prompt from the Accessories folder of the Start menu.

  2. At the prompt, type a command, including any switches and extra parameters, and press Enter.

  3. Enter any additional commands you want to run.



1.1. The Top 10 Command-Prompt Commands
CommandFunction
cdSwitches to the specified folder (or directory).
clsClears the screen.
copyCopies the specified files or folders.
dirShows the contents of the current directory.
exitEnds the session.
ipconfigDisplays network connection information.
pingTests network connection using IP address.
pathDisplays or sets the path the command searches.
promptChanges the information displayed at the prompt.
renameRenames the specified file or files if the wildcard characters ? or * are used.


Tip:

Many commands have switches that allow the use of extra parameters, giving you greater control of the command. A switch is the part of the command with the forward slash (/) followed by a letter, a number, or some other instruction. A parameter is an additional instruction you provide, such as the file name or the drive letter.


2. Find a Command

  1. At the command prompt, type help and press Enter.

  2. Review the list of commands.

  3. If the information scrolls off the screen, use the scroll bar or the scroll arrows so that you can see the entire list.


Tip:

To change some of the settings for the Command Prompt window—the font, the cursor size, or the colors, for example—right-click the window's title bar, and choose Properties from the shortcut menu.


3. Get Information About a Command

  1. Type a command followed by a space and /? and then press Enter to get information about the command.

  2. Read the information.




Note:

Try This!

At the command prompt, type help > dosref.txt and press Enter. Use Notepad or WordPad to open the file dosref.txt that's stored on your hard disk (it's the folder that was active when you typed the command). The > symbol redirected the output from the screen to the file. You now have a reference for the commands, which you can easily print out.



 
Others
 
- Windows 8 : Optimizing Backup and Restore (part 4) - File History and Version Control
- Windows 8 : Optimizing Backup and Restore (part 3) - Backing Up the Operating System
- Windows 8 : Optimizing Backup and Restore (part 2) - Using Backup and Restore
- Windows 8 : Optimizing Backup and Restore (part 1) - Moving Your Files Away from Windows 8
- Windows Home Server 2011 : Working with Shared Folders
- Windows Home Server 2011 : Examining the Predefined Windows Home Server Shares
- Optimizing Windows 8 Security (part 2) : BitLocker and BitLocker To Go
- Optimizing Windows 8 Security (part 1) : Windows 8 and Antivirus Software, User Account Control
- Windows Small Business Server 2011 : Performing Post-Installation Tasks (part 3) - Add a Trusted Certificate
- Windows Small Business Server 2011 : Performing Post-Installation Tasks (part 2) - Set Up Your Internet Address
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us