Useful CLI-DOS Command
A list of DOS Command that is very useful when repairing the OS after the System crash. for extra help you can use the HELP Command. Ex. C:\>help dir.
CHDIR – Displays the name of or changes the current directory.
CHKDSK – Checks a disk and displays a status report.
CLS – Clears the screen.
COMP – Compares two groups of files to find information that does not match.
COPY – Copies and appends files.
DATE – Displays and/or sets the system date.
DEFRAG – Optimizes disk performance by reorganizing the files on the disk.
DEL – Deletes files from disk.
DELTREE – Deletes a directory including all files and subdirectories that are in it.
DIR – Displays directory of files and directories stored on disk.
DISKCOMP – Compares the contents of two diskettes.
ECHO – Displays messages or turns on or off the display of commands in a batch file.
EDIT – Starts the MS-DOS editor, a text editor used to create and edit ASCII text files.
EXIT – Exits a secondary command processor.
EXPAND – Expands a compressed file.
FASTHELP – Displays a list of DOS commands with a brief explanation of each.
FIND – Finds and reports the location of a specific string of text characters in one or more files.
FOR – Performs repeated execution of commands (for both batch processing and interactive processing).
FORMAT – Formats a disk to accept DOS files.
GRAPHICS – Provides a way to print contents of a graphics screen display.
IF – Allows for conditional operations in batch processing.
LABEL – Creates or changes or deletes a volume label for a disk.
MEM – Displays amount of installed and available memory, including extended, expanded, and upper memory.
MKDIR – Creates a new subdirectory.
MORE – Sends output to console, one screen at a time.
MOVE – Moves one or more files to the location you specify. Can also be used to rename directories.
PATH – Sets or displays directories that will be searched for programs not in the current directory.
RENAME – Changes the filename under which a file is stored.
RMDIR – Removes a subdirectory.
SORT – Sorts input and sends it to the screen or to a file.
XCOPY – Copies directories, subdirectories, and files.
NBSTAT - a TargetIP (If the target has a file and printing enabled)
NET VIEW - \\TargetIP (Display any shared drives, folder, files or printers)
NET USE - AnyNoneExistentDriveLetter: \\TargetIP\SharedDrive (eg. G: \\192.168.56.1\SharedDocs - to map out the drive.)
NSLOOKUP website_name - it gives the DNS information of a website. (eg.google.com)
PATHPING website_name - gives information about the latency of network, network loss, source hops and destination.
TRACERT website_name - displays the routing information
PING website_name - displays the IP address of a website and packets sent to the server.
NET CONFIG SERVER - /hidden:yes - hiding your system from network machine findings
CHDIR – Displays the name of or changes the current directory.
CHKDSK – Checks a disk and displays a status report.
CLS – Clears the screen.
COMP – Compares two groups of files to find information that does not match.
COPY – Copies and appends files.
DATE – Displays and/or sets the system date.
DEFRAG – Optimizes disk performance by reorganizing the files on the disk.
DEL – Deletes files from disk.
DELTREE – Deletes a directory including all files and subdirectories that are in it.
DIR – Displays directory of files and directories stored on disk.
DISKCOMP – Compares the contents of two diskettes.
ECHO – Displays messages or turns on or off the display of commands in a batch file.
EDIT – Starts the MS-DOS editor, a text editor used to create and edit ASCII text files.
EXIT – Exits a secondary command processor.
EXPAND – Expands a compressed file.
FASTHELP – Displays a list of DOS commands with a brief explanation of each.
FIND – Finds and reports the location of a specific string of text characters in one or more files.
FOR – Performs repeated execution of commands (for both batch processing and interactive processing).
FORMAT – Formats a disk to accept DOS files.
GRAPHICS – Provides a way to print contents of a graphics screen display.
IF – Allows for conditional operations in batch processing.
LABEL – Creates or changes or deletes a volume label for a disk.
MEM – Displays amount of installed and available memory, including extended, expanded, and upper memory.
MKDIR – Creates a new subdirectory.
MORE – Sends output to console, one screen at a time.
MOVE – Moves one or more files to the location you specify. Can also be used to rename directories.
PATH – Sets or displays directories that will be searched for programs not in the current directory.
RENAME – Changes the filename under which a file is stored.
RMDIR – Removes a subdirectory.
SORT – Sorts input and sends it to the screen or to a file.
XCOPY – Copies directories, subdirectories, and files.
NBSTAT - a TargetIP (If the target has a file and printing enabled)
NET VIEW - \\TargetIP (Display any shared drives, folder, files or printers)
NET USE - AnyNoneExistentDriveLetter: \\TargetIP\SharedDrive (eg. G: \\192.168.56.1\SharedDocs - to map out the drive.)
NSLOOKUP website_name - it gives the DNS information of a website. (eg.google.com)
PATHPING website_name - gives information about the latency of network, network loss, source hops and destination.
TRACERT website_name - displays the routing information
PING website_name - displays the IP address of a website and packets sent to the server.
NET CONFIG SERVER - /hidden:yes - hiding your system from network machine findings
Useful CLI-DOS Command
Reviewed by code-dev
on
1:08 PM
Rating:
No comments: