the Internet Windows Android

Windows Command String 10 Full List of Commands. Running the command line in Windows

Read how using the command line to check the integrity system files, find the IP address by domain name, create a closure label windows work, eliminate network connection problems and much more. In Windows, there are some functions that you can run only from the command line (Command Prompt). Several of them do not have a graphical interface, while at the same time, others that are running in this way simply work faster.

It doesn't matter if you use PowerShell as an add-on for a command line, or not, all the teams that we will tell in this article work everywhere equally. Obviously, we will not be able to cover all the teams and tell us about each. Instead, we focus on those that seem to us will be most useful. Even if you do not like to work with the command line.

Content:

How to run the command line in Windows on behalf of the administrator

In Windows 10:

  1. Press the button "Start" or choose "Search" - Start entering the word "CMD" on the english language or « Command line» in Russian.
  2. From above the search result will appear, click on "Command line" Right-click and click on the item.

In Windows 8 and 8.1:

  1. Navigate to the initial screen by clicking the button. "Windows" on the keyboard or button "Start".
  2. Right up click on "Search" And begin to enter the word "CMD" or "Command line". The search result will open at the bottom.
  3. Click on Appendix "Command line" Right-click and select item "Run on the name of the administrator".

In Windows 7:

  1. Click on the button "Start", go to the tab "My programs" - Next go to "Standard".
  2. Find the label "Command line" and click on it right mouse button, choose the item "Run on the name of the administrator".


Now proceed directly to the teams.

iPCONFIG: Fast work with network connections


You can find your IP address and all network settings from the control panel, but for this you need to do a few clicks. «IPCONFIG» - This is the Windows Command Line Utility for managing the computer network interfaces. That is, the most fast way Find out such information as: IP addresses, the address of the main gateway, network connections information that your computer uses, etc.

To use this utility, just enter «IPCONFIG» on the command prompt and click "ENTER". As a result, you will see a list of all network connectionsthat your computer uses. Look below the inscription "Adapter Wireless local network» if you are connected to Wi-Fi, or "Ethernet adapter"If you are connected to the wired network. For more information on «IPCONFIG» Dial the command «IPCONFIG / ALL»As a result, a list of all keys will be withdrawn, and, accordingly, the capabilities of the utility.

ipponfig / Flushdns: Clear-Reset DNS Cache


If you changed the DNS server in the network settings, this action will not immediately come into force. Windows uses the cache that stores the DNS responses are stored, it saves time when accessing the same network resources in the future. To windows the addresses from new DNS servers enter the command «IPCONFIG / FLUSHDNS» After changing your DNS server.

With constant surfing on the Internet, your computer automatically caches IP addresses and other necessary domain name service data. Clearing the DNS cache helps update these data. Outdated cached data can, with time, cause problems with the compound.

ping and Tracert: troubleshooting network connections


If you have any problems with connecting to a local network, Internet or to any website, then Windows has standard tools that you can use to solve them.

"Ping" - This is a utility to verify the integrity of networks and the quality of connections in them based on the TCP / IP protocol. The utility sends, so-called ICMP requests for the specified IP address or node on the network, and controls the answers coming from them. Time, between sending such a request and receiving an answer to it, allows you to determine the delay of packets along the route, as well as the number and frequency of losses. I.e "Ping" Allows you to determine how much the data transmission channel is loaded.

Enter "Ping Site" (or any other server on the Internet you want to test), and Windows will send packets to this address. You can register the server name, or the actual IP address of the resource. The server will answer this IP address and report that he got them. You can see if the loss of packages happened along the route and how much time it took to get the answer.

Also, team "Ping" It has many keys and capabilities display information, such as: checking communication with the specified IP address to terminate manually, decrypt nodes on IP addresses, number and size of packages, recording route, time change, etc.


"TRACERT" - This is a utility designed to track data routes in TCP / IP networks. When entering the team "TRACERT"The full package delivery route is displayed, with information about each server through which it is laid. For example, if you enter "Tracert Site"You will receive information about each node along the way to our server with which the package interacts. If you have any problems with connecting to a website, utility "TRACERT" Determine at what stage an error occurred.

shutdown: Creating Windows Shutdown Labels


Team "Shutdown" Allows you to turn off or restart Windows from the command line. In principle, it is more useful for Windows 8, where the standard button "Turning off" It was more difficult to find. This command can be used to create your own shortcuts: "Completion of work", , "Sleeping mode" etc. And place them where you are convenient: in the menu "Start", on the desktop, on the taskbar ..!

In windows 8 and 10, you can use special button Restarting a computer for special options for OS. .

To use the command on the command prompt, simply enter one of the following values \u200b\u200b(all command parameters are entered through the reverse slash):

  • "Shutdown / S / T 45" - Analog "Completion of work" With a delay of 45 seconds.
  • "Shutdown / R / T 0" - Analog.
  • "Shutdown / L" - Analog "Exit the system / user shift".
  • "Shutdown / R / O" - reboots the computer in Recovery environment.

sFC / SCANNOW: Checking the integrity of Windows system files


"SFC" - This is a standard utility for checking the integrity of Windows system files. It allows the user to find and restore the missing system files. If for some reason, the files are missing or damaged, then the utility scans them all and replace erroneous versions of files with source versions. In addition, the system file verification tool checks the cache directory and, if necessary, updates its contents.

To scan, you must run the command line as an administrator, to register the command "SFC / SCANNOW" And give the program to make your work. .

telnet: Connect to Telnet servers


Client Protocol "Telnet" Windows is not installed by default. But this is one of her additional featureswhich you can set through the control panel. After installation, you can use the command "Telnet" To connect to servers without installing additional software, directly from the command line.

Just go "Start""Control Panel""Programs and Components" - Next click "Enable or disable Windows Components" - Find and put a tick "Telnet client".

cipher: Constant Delete and Overwrite Directory


Team "CIPHER" Provides efficient encryption functions and decryption files and directories in Windows. It also has an option that will overwrite free disk space to the garbage data. It will not allow to restore remote files and folders with the help of specialized software. In OS. Windows filesDeleted in conventional method, remain on the disk, if you do not use solid State Drive With Trim function. Team "CIPHER" Allows efficient "Erase" All free disk space without installing additional software.

For example: To clear the disk space on the F: Enter the command "CIPHER / W: F: \\". Please note that between the command key (/ w :) and the letter of the disc (F: \\) there is no space.

netstat -an: List of network connections and ports


"Netstat" - This is the standard Windows command line utility that displays the state of incoming and outgoing TCP connections. The main purpose of the utility is to find problems on the network and determining its performance. The team has many keys and options, but the most interesting is "Netstat -an". As a result of this line, a list of all open network connections will be displayed, as well as the ports that they use, and the external IP address to which they are connected.

nSLookup: Find the IP address by domain name


When you enter the name of any site in the browser address bar, then your computer finds the IP address associated with this domain name And gives out the result. You can use the command "NSLookup"To find out the IP addresses and the name of the servers on which the domain is located.

For example, enter on the command prompt "NSLOOKUP -Type \u003d Any Site" (parameter -Type \u003d any means the output of all available data). And you will open all information about our server. You can also check the search, that is, find out the name of the server by the IP address.

It is far from full list All teams that you can come in handy. We gave an idea of \u200b\u200bthe ten useful command line utilities in Windows, and we hope that you will easily use them in the future.

Command Line (Command Line, Console, Terminal) in operating system Windows is designed to work with the system in text mode. The software shell serves to communicate the user with the operating system by entering text commands from the computer keyboard.

Working with the command line passes as follows: The user starts the CMD.exe application on the computer, the command line interface window opens (command line interpreter), then the user enters the command or command sets from the keyboard, the system performs them, sometimes issues requests or messages displayed in Command line interface window.

To perform various tasks on your computer: Starting programs, system configuration, Windows settings, etc., You must enter certain commands for the command line.

At the dawn of the creation of operating systems, the OS did not have a graphical interface, all actions were performed using commands scored on the keyboard. After the graphical interface appears, the command line did not disappear from the system.

Most users, sooner or later, face a command line, the other part of users does not even suspect its existence.

The advantage of the command line is that the command line does not depend on the graphical interface of the operating system. The user enters the commands in the command line window, and the system will immediately execute them. In some cases, this process goes faster than similar actions using the Windows graphical interface.

The command line is often used when troubleshooting on a computer when it is impossible to perform work in the correction of system failures in another way.

It is difficult for novice users to work with the command line due to the fact that they do not know teams. Therefore, with the command line more often use experienced users and administrators.

In this article, you will find a list of command line commands. The table contains the main command-line commands operating in Windows 10 operating systems, Windows 8.1, Windows 8, Windows 7.

How to run a command line

In Windows 10, immediately find the command line is not obvious, so read the article about different methods Starting the console in this OS.

In operating room windows system There are several ways to start the command line, here are the simplest:

  • From the "Start" menu, log in to "Programs" ("All Programs"), and then to "Service" (in Windows 7 - "Standard"), select the "Command Line" application.
  • In the search field, enter "CMD" (without quotes), among the opened results it will be the command line.
  • After clicking on the "Win" + "R" keyboard, in the "Run" window, enter the "CMD" command line launch command (without quotes).

In normal mode, the command line starts on behalf of the user. To perform some actions on the command prompt, the enhanced computer administrator rights are required. In this case, the command line must be launched on behalf of the administrator. Read the article about different versions Windows operating system.

How to execute the command in the command line

Work on the command line is very simple: the user enters the text command, and then presses the "Enter" key. If you need to enter multiple consecutive commands, repeat this operation several times.

After running the command line, the Windows operating system version is displayed in the command line interpreter window, and the place where the user is now being located. When starting in normal mode, this is the address of the user profile on the system disk.

When running the command line on behalf of the administrator, the path is as follows: "C: \\ Windows \\ System32".

The Windows command line commands must be entered in the interpreter window immediately after the "\u003e" sign, the cursor flashes in this place.

To copy the command from the computer, and then insert the command to the command prompt, the context menu of the right mouse button is used. Copy the command to the clipboard, insert the mouse cursor in the command line window, press the right mouse button. Windows 10 supports copying and insert using standard keyboard keys: "Ctrl" + "C" and "Ctrl" + "V".

Some system applications are started immediately after entering the command, which consists of the name of the application, for example, if you conduct the "CALC" command, then the system program Calculator is running on the computer.

For other programs, you will need to enter the full path to the executable application file. If there are gaps on the way to the file, the full path is in quotes, for example, the command looks like to start google browser Chrome:

"C: \\ Program Files (x86) \\ google \\ chrome \\ application \\ chrome.exe"

After running the command from the command line, the implementation of the execution of the command is not always visible, due to the fact that internal changes in the operating system occur.

Other parameters are often added to the main command, keys to perform specific actions.

When entering an incorrect command, for example, entered with errors, or if the Windows operating system cannot for any reason, execute the command, a message appears on this in the command line interface window.

Commands for command line windows

The user can independently learn the main commands from the utility command line. To do this, you just enter the command: "HELP".

The command line interface displays a list of basic commands.

For information about the parameters of a separate command, you must enter one of the following commands that are executed equally (do not forget to put a space):

Command name /? Help_name

As a result, you will receive information about all the parameters of this command.

Windows Command Line: List of Basic Teams

Check out the table in which the commands used on the Windows command line are collected. If I missed any important command, write about it in the comment to this article, I add a command to the table.

TeamPerformed action
appwiz.cplstarting a system to change or remove programs
aRPdisplaying and changing ARP tables for converting IP addresses to the physical used address resolution protocol
assoc.output or Change File Name Environment Comparisons
aT.starting programs at the specified time
aTTRIBdisplay and change file attributes
azman.msc.authorization dispatcher
bCDBootcreate and restore download configuration data files
bCDedit.editing changes in the boot download database
breakchanging the CTRL key combination processing mode + "C"
blastcln.cleaning utility from worms
bootCfg.setup, Extraction, Change or Delete Command Line Settings in the boot.ini file in Windows XP
callcall one batch file from another
cacls.viewing and Editing Access Control Tables (ACL) to Files
calc.running the calculator application
cDdisplays a name or change the current folder
charmapsymbol table
cHCPoutput or change the active code page
chdir.output or change current folder
copycopy one or more files
chkdsk.checking the disk on errors and output statistics
chkntfs.displaying or changing the disk check options during loading
ciddaemon.file indexing service
cipherencryption of files and folders in NTFS
cleanmgr.disc Cleaning Utility
cLS.screen cleaning
cmd.run another interpreter of the Windows command line
cOMPMGMT.MSC.opening Console Computer Management
colorinstalling foreground colors and default background
comexp.msc.component services
compcomparison of the contents of two files or two sets of files
compact.view and change file compression parameters in NTFS sections
cOMPMGMT.MSC.Computer Management
computerDefaults.default application selection
controlControl Panel
control Admintools.administration
control Desktop.screen Setup and Personalization
control Folder.folder Properties in Explorer Parameters
control Fonts.fonts
cONTROL KEYBOARD.opening the keyboard properties window
control Mouse.the properties of the mouse
control Printer.devices and printers
control SchedtasksTask Scheduler
control UserPasswords2.
convert.conversion file System Tom Fat in NTFS (does not work on the current disk)
copycopying files to another location
credwizarchiving and restoring user names and passwords
date.output or installation of the current date
debug.debugging and editing software
defrag.running disk defragmentation
del.deleting one or more files
desk.cplsetting screen resolution
devicePairingWizardadding a new device
devmgmt.ms.Device Manager
dfrgui.optimization of disks (defragmentation)
dir.output of the list of files and subfolders from the specified folder
diskmgmt.ms.opening Access Disc Control
diskpart.display and configure the properties of the disk partition
diskperf.enable or disable performance counter
doskey.command line editing, repeat call windows commands, creation of macros
dpiscalingconfigure Display Parameters
dxdiagdirectX diagnostic tool
echo.displaying messages and switching command display mode on the screen
endlocalcompletion of local environmental changes for a batch file
erase.deleting one or more files (rubbing)
esentutl.utilities maintenance Baz microsoft data Windows
eudcedit.editor of personal signs
eventCreate.creating a special event entry in the specified event log
eventvwr.msc.view events
expandunpacking compressed files
explorer.Windows Explorer
fC.comparison of files or file sets, output differences between them
find.search for a text string in one or in several files
findstr.search text string in file
fingerinformation about the users of the specified system on which the Finger service is running
firewall.cplWindows Defender Firewall
forrun the specified command for each file in the set
format.disc formatting
fsmgmt.msc.common folders
fSquirt.bluetooth file transfer
fsutil.show and configure the properties of the file system
fTypeoutput or changing file types when matching file names
fTP.fTP file sharing
goto.control in the specified batch file string
getmacdisplaying MAC addresses of one or more network adapters
gpresultinformation about group Policy for computer or user
graftabldisplays the advanced set of characters in graphic mode of Windows
gpedit.msc.Local Group Policy Editor
gpupdate.updating multiple group policies
hDWWIZ.wizard installation of equipment
icacls.display, change, archive, restore ACL lists for files and directories
iExpress.creating a self-extracting archive
ifconditional processing in batch programs (files)
ipconfigiP Address Information
joy.cplgaming devices
labelcreate, change and remove volumetric labels for disks
lODCTRupdating registry parameters related to meter performance
logman.managing Alerts and Performance Logs
logoffcompletion of the session
lpksetup.installing or deleting Windows interface languages
lusrmgr.msc.local users and groups
magnifylaunch Lup Application
main.cplthe properties of the mouse
makecab.archiving Files in CAB Archive
mD.creating a catalog (folders)
mDSChed.check random access memory For errors
mkdir.create directory (folder)
mmsys.cplproperties of sound
mode.configuring system devices
mOFComp.32-bit compiler
moresequential data output by parts in size in one screen
mOUNTVOL.creating, viewing and deleting connection points
move.move one or more files from one folder to another
mrinfo.multicast work
mRT.running a removal tool malicious programs Malicious Software Removal Tool
msconfigsystem configuration
mSG.sending messages to the user
mSInfo32.system Information
mspaintrunning graphic Editor Paint.
msra.remote assistant Windows
net.network management
nCPA.cplnetwork connections
netStat.display protocol statistics and current TCP / IP network connections
netPlwizuser Account Management
notepad.starting a notebook program
odbcconf.setting up the ODBC driver
openFiles.list output open files and folders open in the system
optionalfeatures.enable or disable Windows components
oSK.running on-screen keyboard
path.output or installation of the search path of executable files
pausesuspension of the batch file, message output
perfmon.system monitor
resmon.resource monitor
popd.restore the previous value of the current folder saved by the PUSHD command
prompt.changing Windows Command Line
pushd.saving the current directory and then changing the directory
ping.sending packages to the specified address
powerCfg.manage Power Parameters System
print.printing a text file
qProcess.display information about processes
qwinsta.display information about sessions of remote desktops services
rd.removing catalog
recover.restore the preserved data on a damaged disk
recDisc.creating Windows Recovery Disk
rEGteam to work with the registry
regedit.Registry editor
rEM.commentary room in a batch file or to config.sys file
rEN.
rename.rename files and folders
rmdir.removing catalog
replacereplacing files
rstrui.windows restoration from system recovery points
runas.to use applications on behalf of another user
rwinsta.reset the values \u200b\u200bof the subsystems of equipment and session programs to the initial state
secpol.msc.local security policy
services.msc.services
sET.display, installing and deleting Windows environment variables
setlocalbeginning of local environment changes in the batch file
sCdisplay and configure services (background processes)
sFC.checking the integrity of all protected system files and replacing incorrect
sigverifsignature checking file
shift.changing the contents of replaceable parameters for a batch file
slui.activation of Windows
sNDVOL.mixer Volume
start.running specified program or teams in a separate window
schtasks.running programs and executing commands on a PC on a schedule
sdbinst.compatibility Database Installer
sort.sort program
subst.mapping the name of the disk specified path
sysdm.cplproperties of the system
systemInfo.operating system configuration information
taskkill.forced completion of the process or application
tasklist.show all tasks currently performed, including services
taskmgr.Task Manager
tcmsetup.installation of telephony client
time.view and change current time
tIMEDATE.CPLsetting time and date
titleappointment of the header of the current command line interpreter window
tracert.route tracing to the specified node
treegraphic display of the structure of a specified disk or folder
tSCON.connecting a user session to a remote desktop session
tsdiscon.disable Remote Desktop Services Session
tskill.termination of the process
typeconclusion of text file content
typePerf.display information about the performance on the screen or log
utilman.center special features
veroutput of Windows version information
verifierdriver check manager
verifysetting the Windows check mode correctly recording files to disk
vol.conclusion of the label I. serial number Tom for disk
vssadmin.command Line Program to Administer Tom Shadow Copy Service
w32tmshowing current parameters to display a time zone
winVer.windows version information on the screen
wMIC.wMI Instrumental Information in Interactive Command Sheath
writewordPad text editor
wscui.cplsecurity and Service Center
wUSA.autonomous update installer
xcopycopying files and wood folders

Conclusions Articles

The command line in the Windows operating system allows the user to manage a computer without using a graphical interface. To perform certain actions on a PC, special commands must be entered into the command line interpreter. This article published a table with a list of the most sought-after commands for the Windows command line.

Today it will be about the command line, namely the teams that will be useful for use. The command line interface itself, as we know, is not very pleasant for the eyes, however, using it we can use the most necessary teams that do not have a graphic shell. So, command line commands. By the way, instead of standard windows consoles You can use more functional.

DriverQuery.

This utility allows you to solve some problems with. Many users in order to find out any information about the drivers use third-party applicationsIn this case, this is not necessary to do this and you can use the built-in utility.

To start this program, you must enter the command:

or

Disc Check - Chkdsk

As already understandable from the name of the item, the command line utility allows on hard disk, as well as correct file system errors.

To start the utility, you need to type the command on the command prompt:

cHKDSK C: /F. / R.

FROM: - This is the letter of the disk that will be checked.

/ F. - A function that activates the disk check for errors.

/ R. - Searches for damaged sectors.

Ipconfig

This utility allows users to find out the IP address of their computers and information about TCP / IP connections, as well as, network adapters, modems, etc.

Also, using some additional functions, you can clean the DNS cache using this command and update IP addresses for some devices, such as a network adapter.

To start the ipconfig utility, you need to enter a command in the command line:

To clean the DNS cache you need to enter this command:

These are the main commands exist on the Windows command line. Naturally, they are not the only and quite a lot of them. We already have an article where almost all commands are indicated and short description to them, . That's all. Also read about. Suddenly it will be interesting.

Hello everyone. In this article, we will talk to such topics as:

Command Line (CMD) - This is a separate program that allows the user to directly interact with the operating system. Command line Based on the environment in which applications and service programs are running using the text interface, and the execution result is displayed on the screen.

Command line Windows uses command interpreter cmd.exe.Which allows you to download applications and directs the data stream between them, it simply puts the user commands in a clear system. Command line console integrated into all versions of Windows. At first sight command Interface scares the user spoiled by the graphical interface of the same Windows, but usually command Interface, much faster and has a lot additional featureswhich cannot be implemented in the graphic interface.

Launch methods:

  1. Start / All Programs / Standard / Command Line.
  2. Start / Perform / in the string Enter cmd.exe
  3. Run from the system folder: C: \\ Windows \\ System32 \\ cmd.exe

CMD commands.

Below I will give you a table with a full list command Command Line, and after the plate we will analyze the main CMD commands.

Command Description
Assoc. Output either changing comparishes for file name extensions.
AT. Execute commands and launch scheduled programs.
ATTRIB Display and change file attributes.
Break Turning on / off the CTRL + C key combination mode.
Cacls. Display / edit access control lists (ACL) to files.
Call Call one batch file from another.
CD
CHCP Output or setting an active code page.
Chdir. Displays a name or change the current folder.
Chkdsk. Checking the disk and output statistics.
Chkntfs. Displaying or changing the disk checking during boot.
CLS. Cleaning the screen.
Cmd. Start another Windows command row interpreter.
Color Installing the color of the text and the background used by default.
Comp Comparison of the contents of two files or two sets of files.
Compact. Display / changing file compression in the NTFS sections.
Convert. Convert FAT disk volumes to NTFS. You can not convert the current active disk.
Copy. Copying one or more files to another location.
Date. Display or setting the current date.
Del.
Dir. Output of the list of files and subfolders from the specified folder.
Diskcomp. Comparison of the contents of two flexible disks.
Diskcopy. Copy the contents of one flexible disk to another.
Doskey. Editing and repeatedly calling command lines; Creating macros.
Echo. Displaying messages and switching mode display mode on the screen.
Endlocal End of local environment changes for a batch file.
Erase. Deleting one or more files.
EXIT Completing the CMD.exe program (Command Line Interpreter).
FC. Comparison of two files or two file sets and output differences between them.
Find. Search for a text string in one or more files.
Findstr. Search for strings in files.
For Run the specified command for each of the files in the set.
Format. Disc formatting to work with Windows.
FType. Output or changing the types of files used when mapping to file name extensions.
Goto. Control in the marked batch file.
Graftabl Allows Windows to display an extended character set in graphical mode.
Help. Displays information about Windows commands.
If Conditional execution operator in the batch file.
Label Creating, changing and deleting volume marks for disks.
MD. Creating a folder.
Mkdir. Creating a folder.
Mode. Configuring system devices.
More Sequential data output in parts size in size.
Move. Move one or more files from one folder to another.
Path. Output or setting the search path of executable files.
Pause Suspending the execution of the batch file and output.
Popd. Restore the previous value of the current active folder saved using the PUSHD command.
Print. Conclusion to print content text files.
Prompt. Changing the prompt in the Windows command prompt.
Pushd. Saving the value of the current active folder and go to another folder.
Rd. Delete folder.
Recover Restore readable information from a bad or damaged disk.
REM. Placing comments in batch files and config.sys file.
REN.
Rename. Rename files and folders.
Replace File replacement.
Rmdir. Delete folder.
SET. Display, installing and deleting Windows environment variables.
Setlocal The beginning of local environment changes for the batch file.
Shift. Changing the contents of (shifting) set parameters for a batch file.
Sort. Sort input.
Start. Starting a program or command in a separate window.
Subst. Mats the disk name specified path.
Time. Output and installation of system time.
Title Assign the window title for the current CMD.exe command lines interpreter session.
Tree Graphic display of the folder structure of a specified disk or a specified folder.
Type Displays the contents of text files.
Ver Displays information about the version of Windows.
Verify Setting the check mode correctly recording files to disk.
Vol. Conclusion of the label and serial number of the volume of the disk.
Xcopy. Copying files and wood folders.

Command line commands.

Now let's talk in more detail, about the most frequently used teams, but before you tell you a little about the keys that can be applied together with commands for more functional action. At the example of the RD command, if you apply it to an empty folder, it will be removed, but if there are files in the folder, then nothing happens. So, to delete the folder together with files in it, you need to apply the key with the RD command / S..

Ie there, for example, the KAT directory and find any files in it to delete the directory with the files, you need to register RD / S Kat. The list of keys to any command can be found by typing the team name Slash and the question: command name /?.

Main teams of working with catalogs:

  • MD - Creating a catalog. Syntax: (MD catalog name, there is an opportunity to specify the location path).
  • Rd - Catalog Deleting. Syntax: (RD catalog name, there is an opportunity to specify the location path). Note, RD without keys calls to delete only an empty directory.
  • CD - change current directory. Syntax: (CD catalog name, there is an opportunity to specify the location path). CD \\ - Go to the root directory. CD .. - Go to the parent directory.
  • DIR - View directory of the list of the list. Syntax: (DIR catalog name, there is an opportunity to specify the location path).
  • Tree - output of catalogs in the graphic representation. Syntax: (Tree directory name, have the ability to specify the location path).
  • Move - Moving \\ Renaming the catalog. Syntax :.
  • Xcopy - copying directory structures. Syntax: (XCopy What_Coping Where_Coping, It is possible to specify the location path).

File Work Commands:

  • Copy CON - Creating a File. Syntax: (Copy CON_ file_name_S_SEVENING, there is an opportunity to specify the location path).
  • Type - Displays the contents of the file to the screen. Syntax: (Type_Fail_name_S_SExing, there is an opportunity to specify the location path).
  • Del - delete file. Syntax: (Del_File__SExide name, there is an opportunity to specify the location path).
  • Copy - Copy File / File Stringing. Syntax (copy): (Copy What_Coping Where_Telective, It is possible to specify the location path). Syntax (interconnection): (Copy file name + file name + file name ... file_name__name, there is an opportunity to specify the location path).
  • Edit - Create \\ file editing. Syntax: (Edit file name, is the ability to specify the location path).
  • Move - Move \\ Rename the file. Syntax: (Move What's in mind wherever_mind, it is possible to specify the location path).
  • Ren - rename files. Syntax: (Ren What_in simply in the first_name, there is an opportunity to specify the location path).
  • FC - File Comparison. (FC file name file_name_File_name ..., It is possible to specify the location path).

Systems Teams:

  • CLS - screen scribing.
  • Date - view and output to changes in the current date.
  • Ver - output information about the current version of the operating system.
  • Vol - Display information about the volume-logical section of the disc.
  • SystemInfo is the output of the system of configurations of the system.
  • EXIT - exit from the command line.

These were the most used command line commands.

I finish this article, I hope you completely dealt with themes: CMD commands, command line commands, command row.

The most common launch guidelines sound like this: Start, Run, CMD. The Start menu is present. It launches a program that allows you to transmit single commands to the Windows system. In this case, the CMD command launches the CMD.exe executable file located in the System32 folder.

C: \\ Windows \\ System32 \\ cmd.exe

On some windows versions The Default menu item is removed. In this case, click + R, enter CMD, then ENTER. You can also run the command line directly from the System32 folder, making a label to run on the desktop (click on cmd.exe with the right mouse button and select the Send / Desktop item in the menu) or via the Task Manager (New Task Manager - CMD).

By default, the command line cannot work with the mouse (move the cursor or highlight the text). It is uncomfortable in general and beginners especially. In addition, the black screen looks like something too gloomy and sad. So after running the command line

you will need to change its settings. Click right key on the CMD window and choose default. It is worth noting that default settings are related to cmd.exe as a whole, and properties to a specific open window.

In the command line properties window that appears, you see four tabs:

On the Settings tab, it is worth noting points to discard the repetitions (to reduce the fill in the command buffer) and the selection of the mouse (so that you can use the mouse in operation).

On tabs fonts and colors, everything is simple: select the size, type and color of the font, as well as the background color of the window. I note only that the font size affects the size of the command line window, so it must be set up to the size of the window, and not after.

In the Location tab, the window sizes and its initial location are set at startup. I do not fully understand in which units are presented, so I advise the size to exhibit, guided by the preview window on the left.

It is worth noting that the size of the buffer affects the capacity of the window, i.e. By the amount of information that can be viewed without problems after displaying the results of the execution of the command (horizontal and vertical scroll bar). If you specify equal dimensions for the window and buffer, then only the tail of the displayed information will be displayed in the window.

Also, if the string does not fit into the window width, this will lead to its transfer. Perceived the information presented in this way is less convenient. Therefore, the buffer I put always much more than the size of the window. This allows you to view large amounts of information by using scroll bars on the right and below. The picture below is clichel. The preview shows the start of the output of the DIR command for the System32 folder, while by clicking on the preview you can see the output tail (pay attention to the scroll bar on the right - a lot of data).

Command String commands

The console is configured, now it remains to familiarize you with command prompt commands. To output their full list, it is enough to type the Help command.

Help - CD or CD / CD Help Help Conclusion? - Conclusion of the help on the same command (for the CD command) CD - the transition to the root catalog CD .. - Go to the parent catalog D: - Go to disk d. DIR - withdrawal of the entire contents of the DIR * .exe folder - output of the list of the EXE files folder CLS - Clear the command line screen

The command line remembers the commands that you enter. You can flip them with keys ⇑ and ⇓. You can view the contents of the folder using the TAB key (SHIFT + TAB leafs in the reverse order). You can scroll through files to a specific letter or letters. For example, printed the letter s. and pressing Tab, you can scroll through only files and folders starting with this letter ( s.ySTEM s.ySTEM32, s.ySTEM.INI, etc.). How can this be used:

For example, you need to go from the C disc root to the System32 folder, find and run in it the control panel. You can simply print:

C: \\ windows \\ System32 \\ Control.exe

But it is not always quick and convenient, moreover, you do not always know - what exactly needs to be recruited. So you can dial the command cDthen after the gap dial wi Windows, put a slash after it, dial letters sY., scroll through the Tab key to the folder sY.sTEM32, then again Slash and the same with Control.exe.

C: CD windows \\ sY.sTEM32 \\ co.ntrol.exe

This method with the Tab is much faster in most cases than a simple set, as file names and folders can be long.

When you enable mouse support, you can copy information from the command line to select the text of the text with the mouse and pressing ENTER. The right mouse key, on the contrary, inserts information from the clipboard to the command line.

In the conclusion of the article, I will say that cmd.exe is just an I / O program, the same as notepad. Of course, there are more advanced analogs that can also be used. One of these programs - Console Portable

By the way, in the operating system GNU Linux, the command line can be called directly from the folder. At the same time, the string will open immediately with the address of the folder and it will not be necessary to fill in manually. In Windows, in order to open the command line directly in the folder, you must click the SHIFT, press the right mouse button and select the "Open command window" on the menu.

You can also add this feature (and a number of other) using the expansion program context menu FileMenu Tools: