Skip to main content

85 commands very important to know

 For those who may think or need to improve his MS skills, find the under by command list that you need to know that are processed under any windows platform.

They are Test user interface commands so, you need to run it under DOS prompt OR in other words, open RUN from start menu.
These commands are associated with its description.


Command
Description
1
ASSOC
Displays or modifies file extension associations.
2
ATTRIB
Displays or changes file attributes.
3
BREAK
Sets or clears extended CTRL+C checking.
4
BOOTCFG
Sets properties in boot.ini file to control boot loading.
5
CACLS
Displays or modifies access control lists (ACLs) of files.
6
CALL
Calls one batch program from another.
7
CD
Displays the name of or changes the current directory.
8
CHCP
Displays or sets the active code page number.
9
CHDIR
Displays the name of or changes the current directory.
10
CHKDSK
Checks a disk and displays a status report.
11
CHKNTFS
Displays or modifies the checking of disk at boot time.
12
CLS
Clears the screen.
13
CMD
Starts a new instance of the Windows command interpreter.
14
COLOR
Sets the default console foreground and background colors.
15
COMP
Compares the contents of two files or sets of files.
16
COMPACT
Displays or alters the compression of files on NTFS partitions.
17
CONVERT
Converts FAT volumes to NTFS. You cannot convert the current drive.
18
COPY
Copies one or more files to another location.
19
DATE
Displays or sets the date.
20
DEL
Deletes one or more files.
21
DIR
Displays a list of files and subdirectories in a directory.
22
DISKCOMP
Compares the contents of two floppy disks.
23
DISKCOPY
Copies the contents of one floppy disk to another.
24
DISKPART
Displays or configures Disk Partition properties.
25
DOSKEY
Edits command lines, recalls Windows commands, and creates macros.
26
DRIVERQUERY
Displays current device driver status and properties.
27
ECHO
Displays messages, or turns command echoing on or off.
28
ENDLOCAL
Ends localization of environment changes in a batch file.
29
ERASE
Deletes one or more files.
30
EVENTQUERY
Displays event log entries for specified criteria.
31
EXIT
Quits the CMD.EXE program (command interpreter).
32
FC
Compares two files or sets of files, and displays the differences between them.
33
FIND
Searches for a text string in a file or files.
34
FINDSTR
Searches for strings in files.
35
FOR
Runs a specified command for each file in a set of files.
36
FORMAT
Formats a disk for use with Windows.
37
FSUTIL
Displays or configures the file system properties.
38
FTYPE
Displays or modifies file types used in file extension associations.
39
GOTO
Directs the Windows command interpreter to a labeled line in a batch program.
40
GPRESULT
Displays Group Policy information for machine or user.
41
GRAFTABL
Enables Windows to display an extended character set in graphics mode.
42
HELP
Provides Help information for Windows commands.
43
IF
Performs conditional processing in batch programs.
44
LABEL
Creates, changes, or deletes the volume label of a disk.
45
MD
Creates a directory.
46
MKDIR
Creates a directory.
47
MODE
Configures a system device.
48
MORE
Displays output one screen at a time.
49
MOVE
Moves one or more files from one directory to another directory.
50
OPENFILES
Displays files opened by remote users for a file share.
51
PAGEFILECONFIG
Displays or configures Pagefile properties.
52
PATH
Displays or sets a search path for executable files.
53
PAUSE
Suspends processing of a batch file and displays a message.
54
POPD
Restores the previous value of the current directory saved by PUSHD.
55
PRINT
Prints a text file.
56
PROMPT
Changes the Windows command prompt.
57
PUSHD
Saves the current directory then changes it.
58
RD
Removes a directory.
59
RECOVER
Recovers readable information from a bad or defective disk.
60
REM
Records comments (remarks) in batch files or CONFIG.SYS.
61
REN
Renames a file or files.
62
RENAME
Renames a file or files.
63
REPLACE
Replaces files.
64
RMDIR
Removes a directory.
65
SET
Displays, sets, or removes Windows environment variables.
66
SETLOCAL
Begins localization of environment changes in a batch file.
67
SC
Displays or configures services (background processes).
68
SCHTASKS
Schedules commands and programs to run on a computer.
69
SHIFT
Shifts the position of replaceable parameters in batch files.
70
SHUTDOWN
Allows proper local or remote shutdown of machine.
71
SORT
Sorts input.
72
START
Starts a separate window to run a specified program or command.
73
SUBST
Associates a path with a drive letter.
74
SYSTEMINFO
Displays machine specific properties and configuration.
75
TASKLIST
Displays all currently running tasks including services.
76
TASKKILL
Kill or stop a running process or application.
77
TIME
Displays or sets the system time.
78
TITLE
Sets the window title for a CMD.EXE session.
79
TREE
Graphically displays the directory structure of a drive or path.
80
TYPE
Displays the contents of a text file.
81
VER
Displays the Windows version.
82
VERIFY
Tells Windows whether to verify that your files are written correctly to a disk.
83
VOL
Displays a disk volume label and serial number.
84
XCOPY
Copies files and directory trees.
85
WMIC
Displays WMI information inside interactive command shell.

Comments

Popular posts from this blog

Integration with vCloud Director failing after NSXT upgrade to 4.1.2.0 certificate expired

  Issue Clarification: after upgrade from 3.1.3 to 4.1.2.0 observed certificate to be expired related to various internal services.   Issue Verification: after Upgrade from 3.1.3 to 4.1.2.0 observed certificate to be expired related to various internal services.   Root Cause Identification: >>we confirmed the issue to be related to the below KB NSX alarms indicating certificates have expired or are expiring (94898)   Root Cause Justification:   There are two main factors that can contribute to this behaviour: NSX Managers have many certificates for internal services. In version NSX 3.2.1, Cluster Boot Manager (CBM) service certificates were incorrectly given a validity period of 825 days instead of 100 years. This was corrected to 100 years in NSX 3.2.3. However any environment originally installed on NSX 3.2.1 will have the internal CBM Corfu certs expire after 825 regardless of upgrade to the fixed version or not. On NSX-T 3.2.x interna...

Calculate how much data can be transferred in 24 hours based on link speed in data center

  In case you are planning for migration via DIA or IPVPN link and as example you have 200Mb stable speed so you could calculate using the below formula. (( 200Mb /8)x60x60x24) /1024/1024 = 2TB /per day In case you have different speed you could replace the 200Mb by any rate to calculate as example below. (( 5 00Mb /8)x60x60x24) /1024/1024 =  5.15TB  /per day So approximate each 100Mb would allow around 1TB per day.

Device expanded/shrank messages are reported in the VMkernel log for VMFS-5

    Symptoms A VMFS-5 datastore is no longer visible in vSphere 5 datastores view. A VMFS-5 datastore is no longer mounted in the vSphere 5 datastores view. In the  /var/log/vmkernel.log  file, you see an entry similar to: .. cpu1:44722)WARNING: LVM: 2884: [naa.6006048c7bc7febbf4db26ae0c3263cb:1] Device shrank (actual size 18424453 blocks, stored size 18424507 blocks) A VMFS-5 datastore is mounted in the vSphere 5 datastores view, but in the  /var/log/vmkernel.log  file you see an entry similar to: .. cpu0:44828)LVM: 2891: [naa.6006048c7bc7febbf4db26ae0c3263cb:1] Device expanded (actual size 18424506 blocks, stored size 18422953 blocks)   Purpose This article provides steps to correct the VMFS-5 partition table entry using  partedUtil . For more information see  Using the partedUtil command line utility on ESX and ESXi (1036609) .   Cause The device size discrepancy is caused by an incorrect ending sector for the VMFS-5 partition on the ...