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

ما هى ال FSMO Roles

  بأختصار ال FSMO Roles هى اختصار ل Flexible Single Operation Master و هى عباره عن 5 Roles فى ال Active Directory و هما بينقسموا لقسمين A - Forest Roles 1- Schema Master Role و هى ال Role اللى بتتحكم فى ال schema و بيكون فى Schema Master Role واحد فى ال Forest بيكون موجود على Domain Controller و بيتم التحكم فيها من خلال ال Active Directory Schema Snap in in MMC بس بعد ما يتعمل Schema Register بواسطه الامر التالى من ال Cmd regsvr32 schmmgmt.dll 2-Domin Naming Master و هى ال Role المسئوله عن تسميه ال Domains و بتتأكد ان مفيش 2 Domain ليهم نفس الاسم فى ال Forest و بيتم التحكم فيها من خلال ال Active Directory Domains & Trusts B- Domain Roles 1-PDC Emulator و هى ال Role اللى بتتحكم فى ال Password change فى ال domain و بتتحكم فى ال time synchronization و هى تعتبر المكان الافتراضى لل GPO's و هى تعتبر Domain Role مش زى الاتنين الاولانيين و بيتم التحكم فيها من خلال ال Active directory Users & Computers عن طريق عمل كليك يمين على اسم الدومين و نختار operations master فى تاب ال PDC Emu

Question كيفية عمل share للـ outlook conntact لكل الـ Domain Users

  الحل بسيط جدا عايز الكونتاكت تتحدث دايما بحيث انك لما تضيف يوزر جديد يسمع في الكونتاكت اول حاجه بتدخل علي in office 2003 tools --- email account ---- add address book --- internet directory service (LDAP) type your server name then login info . mark this server require me to logon type any user on active directory and its password then save and close outlook and open it again now you will find all your active directory users in address book

Recreating a missing VMFS datastore partition in VMware vSphere 5.x and 6.x

    Symptoms A datastore has become inaccessible. A VMFS partition table is missing.   Purpose The partition table is required only during a rescan. This means that the datastore may become inaccessible on a host during a rescan if the VMFS partition was deleted after the last rescan. The partition table is physically located on the LUN, so all vSphere hosts that have access to this LUN can see the change has taken place. However, only the hosts that do a rescan will be affected.   This article provides information on: Determining whether this is the same problem Resolving the problem   Cause This issue occurs because the VMFS partition can be deleted by deleting the datastore from the vSphere Client. This is prevented by the software, if the datastore is in use. It can also happen if a physical server has access to the LUN on the SAN and does an install, for example.   Resolution To resolve this issue: Run the  partedUtil  command on the host with the issues and verify if your output