background preloader

Command Prompt

Facebook Twitter

Command Index. Information about all current DOS commands From the bookDOS the Easy Way by Everett E.

Command Index

Murdock Ph.D. Click on a command name for complete information about that command and examples of its use. (External) APPEND ; APPEND [d:]path[;][d:]path[...] Displays or sets the search path for data files. ASSIGN x=y [...] Redirects disk drive requests to a different drive. ATTRIB [d:][path]filename [/S] ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H] [d:][path]filename [/S] Sets or displays the read-only, archive, system, and hidden attributes of a file or directory. BACKUP d:[path][filename] d:[/S][/M][/A][/F:(size)] [/P][/D:date] [/T:time] [/L:[path]filename] Makes a backup copy of one or more files. (Internal) BREAK =on|off Used from the DOS prompt or in a batch file or in the CONFIG.SYS file to set (or display) whether or not DOS should check for a Ctrl + Break key combination. BUFFERS=(number),(read-ahead number) CALL [d:][path]batchfilename [options] CHCP (codepage) CHDIR (CD) [d:]path CHDIR (CD)[..]

CTTY (device) Shell in Windows- Introduction. DOS is dead, long live the command line Before proceeding further, I wish to clear up a common misconception that the command prompt in Windows XP is the same as DOS.

Shell in Windows- Introduction

Even some experts who know better sometimes refer to the command prompt as a “DOS window”. In fact, Microsoft itself isn't always careful about the distinction. There are some superficial resemblances and some commands with the same name but in fact the old 16-bit DOS is dead. Windows CMD Command Syntax. How to enable services that are disabled via command line. An A-Z Index of the Windows CMD command line. Ipconfig - Windows Command Line Utility. Updated June 30, 2015. ipconfig is a commmand line utility available on all versions of Microsoft Windows starting with Windows NT. ipconfig is designed to be run from the Windows command prompt.

ipconfig - Windows Command Line Utility

This utility allows you to get the IP address information of a Windows computer. It also allows some control over active TCP/IP connections. ipconfig is an alternative to the older 'winipcfg' utility. ipconfig Usage. How To Read Command Syntax. The syntax of a command is basically the rules for running the command.

How To Read Command Syntax

You need to know how to read syntax notation when learning how to use a command so you can use it properly. As you've probably seen on my site and maybe others, Command Prompt commands, DOS commands, and even many run commands are described with all sorts of slashes, brackets, italics, etc. Once you know what all of those marks refer to, you can look at any command's syntax and know right away what options are required and what options can be used with what other options. Note: Depending on the source, you might see slightly different syntax when used to describe commands.

I used a method that Microsoft has historically used but all command syntax that I've every seen on any site is extremely similar to what I use. Windows CMD Commands. Command prompts for Windows. Command Prompt is a Microsoft-supplied command line interpreter and is called as MS-DOS Prompt on Windows 9x systems.

Command prompts for Windows

This article presents a command prompt list for Windows such as those in Control Panel, Windows Utility and Applications, Disk Management and Connection Management. It also includes a list of miscellaneous commands. Nobody wants unreasonable hard disk formatting or loss of data. Top 10 Windows Built-In Command Line Tools. For many Windows users, the thought of using the Command Prompt is either a scary experience or something that they will never need.

Top 10 Windows Built-In Command Line Tools

But for some, the command prompt is a powerful tool that can be far more useful than many graphical tools available in Windows. Being a System Administrator, I constantly use the command prompt, mostly because I access systems remotely and many tasks can be performed quickly with out the graphics over head (even though connecting via Terminal Server is very convenient). So if you are an avid user of the command line, here are my top 10 built-in (non third party) command line tools for XP, Vista and WIndows server versions (remember these commands are not your typical tools, such as find, copy, move, dir, etc..). 1 - systeminfo – Have a need to display operating system configuration information for a local or remote machine, including service pack levels? Then systeminfo is the tool to use. Some examples when usinging ipconfig. The Windows Command Prompt—Beginner’s Guide.

Previously, we asked you if you use the Windows command prompt and many of you answered and stated you do not; for those that do use the command line interface (CLI), many use it infrequently.

The Windows Command Prompt—Beginner’s Guide

In this guide, we’ll go through the basics of the command prompt, show you examples of how you can use it, and show you how to customize it. Familiarize Yourself with the Command Prompt. Windows Command Prompt—Beginner’s Guide. Windows Command Prompt - Beginners Guide. Beginners Guides: WindowsXP Command Prompt Unlock the enigma that is DOS, and get a handle on the command prompt in Windows XP.

Windows Command Prompt - Beginners Guide

PCstats covers the basics, and some commands you ought to know. - Version 2.3.0. Command Prompt Basics - A Getting Started Guide. Windows Vista Command Line List and Reference. Configuring the Command Prompt Window. The interface to the command shell can be customized in a number of ways and these are discussed.

Configuring the Command Prompt Window

The default settings for the window that displays a command prompt can be changed to suit individual preferences. Among the properties that can be changed are those that affect the appearance such as window size, background and foreground color, and font style. Others that affect operation such as the editing mode and command history buffer can also be configured. The command prompt properties dialog Changing the settings for the command prompt can be done through the properties dialog box. The properties dialog box contains four tabs. Options tab. Managing Windows Programs from the Command Line- Tasklist. Windows XP Professional, Vista and 7 come with a powerful command-line tool called Tasklist that provides many details on the programs and processes that are running.

Managing Windows Programs from the Command Line- Tasklist

Many will be familiar with the graphical tool Task Manager, which I have discussed elsewhere, and which provides various kinds of information about the applications and processes that are running on a system. There are also several command-line tools that provide similar but even more detailed information. In this article I will discuss the features of the tool called Tasklist (the system file is tasklist.exe). This tool is part of the regular installation of the Professional version of XP but does not come with the Home edition.

However, those with the Home version of XP can download Tasklist here. Start / Stop / Enable / Disable Terminal services from command line. We can start Terminal Services by running the command given below. net start TermService If the service is already running you will get the message ‘The requested service has already been started.‘ Sometimes you may get an error that the service could not be started. C:\>net start termservice The Terminal Services service is starting. The Terminal Services service could not be started. The service did not report an error. This happens when Terminal Services is disabled through registry hack. Reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSEnabled /t REG_DWORD /d 1 /f You need to reboot the computer for the changes to take effect.

How to stop Terminal Services? Managing Windows Services from the command line. Sometimes people disable Windows Services and can't get the Windows Services screen to enable a necessary service. The easiest route is to circumvent that interface and go straight to the command line. You can also do this from Safe Mode. How to enable services that are disabled via command line.