Basic usefull cmd commands for window 7

hello visitor, thanks and welcome  for visiting my Blog  :)
in my previous post i shared some simple Google tricks with U 
but now in this post I will share some useful cmd commands that U should know while working in window 7

CMD screen

  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. BCDBOOT* Used to copy critical files to the system partition and to create a new system BCD store.
  5. BCDEDIT Sets properties in boot database to control boot loading.
  6. CACLS Displays or modifies access control lists (ACLs) of files.
  7. CALL Calls one batch program from another.
  8. CD Displays the name of or changes the current directory.
  9. CHCP Displays or sets the active code page number.
  10. CHDIR Displays the name of or changes the current directory.
  11. CHKDSK Checks a disk and displays a status report.
  12. CHKNTFS Displays or modifies the checking of disk at boot time.
  13. CHOICE Batch file command that allows users to select from a set of options. 
  14. CIPHER Displays or alters the encryption of directories [files] on NTFS partitions.
  15. CLIP Redirects output of another command to the Windows clipboard.
  16. CLS Clears the screen.
  17. CMD Starts a new instance of the Windows command interpreter.
  18. CMDKEY Creates, lists and deletes stored user names and passwords or credentials.
  19. COLOR Sets the default console foreground and background colors.
  20. COMP Compares the contents of two files or sets of files byte-by-byte
  21. COMPACT Displays or alters the compression of files on NTFS partitions.
  22. CONVERT Converts FAT volumes to NTFS. You cannot convert the current drive.
  23. COPY Copies one or more files to another location.
  24. DATE Displays or sets the date.
  25. DEFRAG Disk defragmenter accessory. 
  26. DEL Deletes one or more files.
  27. DIR Displays a list of files and subdirectories in a directory.
  28. DISKCOMP Compares the contents of two floppy disks.
  29. DISKCOPY Copies the contents of one floppy disk to another.
  30. DISKPART Displays or configures Disk Partition properties. A separte command interpreter with a sub-set of commands.
  31. DOSKEY Edits command lines, recalls Windows commands, and creates macros.
  32. DRIVERQUERY Displays current device driver status and properties.
  33. ECHO Displays messages, or turns command echoing on or off.
  34. ENDLOCAL Ends localization of environment changes in a batch file.
  35. ERASE Deletes one or more files.
  36. EXIT Quits and closes the command shell.
  37. EXPAND Expands one or more compressed files.
  38. FC Compares two files or sets of files, and displays the differences between them.
  39. FIND Searches for a text string in a file or files.
  40. FINDSTR Searches for strings in files.
  41. FOR Runs a specified command for each item in a set.
  42. FORFILES Selects files in a folder for batch processing. 
  43. FORMAT Formats a disk for use with Windows.
  44. FSUTIL Displays or configures the file system properties.
  45. FTYPE Displays or modifies file types used in file extension associations.
  46. GOTO Directs the Windows command interpreter to a labeled line in a batch program.
  47. GPRESULT Displays Group Policy information for machine or user.
  48. GRAFTABL Enables Windows to display an extended character set in graphics mode.
  49. HELP Provides Help information for Windows commands.
  50. ICACLS Display, modify, backup, or restore ACLs for files and directories 
  51. IF Performs conditional processing in batch programs.
  52. IPCONFIG Displays all current TCP/IP network configuration values 
  53. LABEL Creates, changes, or deletes the volume label of a disk.
  54. MD Creates a directory.
  55. MKDIR Creates a directory.
  56. MKLINK Creates Symbolic Links and Hard Links
  57. MODE Configures a system device.
  58. MORE Displays output one screen at a time.
  59. MOVE Moves one or more files from one directory to another directory.
  60. OPENFILES Queries, displays, or disconnects open files or files opened by network users.
  61. PATH Displays or sets a search path for executable files.
  62. PAUSE Suspends processing of a batch file and displays a message.
  63. POPD Restores the previous value of the current directory saved by PUSHD.
  64. PRINT Prints a text file.
  65. PROMPT Changes the Windows command prompt.
  66. PUSHD Saves the current directory then changes it.
  67. RD Removes a directory.
  68. RECOVER Recovers readable information from a bad or defective disk.
  69. REM Designates comments (remarks) in batch files
  70. REN Renames a file or files.
  71. RENAME Renames a file or files.
  72. REPLACE Replaces files.
  73. RMDIR Removes a directory.
  74. ROBOCOPY Advanced utility to copy files and directory trees
  75. SET Displays, sets, or removes environment variables for current session.
  76. SETLOCAL Begins localization of environment changes in a batch file.
  77. SETX Sets environment variables.
  78. SC Displays or configures services (background processes).
  79. SCHTASKS Schedules commands and programs to run on a computer.
  80. SHIFT Shifts the position of replaceable parameters in batch files.
  81. SHUTDOWN Allows proper local or remote shutdown of machine.
  82. SORT Sorts input.
  83. START Starts a separate window to run a specified program or command.
  84. SUBST Associates a path with a drive letter.
  85. SYSTEMINFO Displays machine specific properties and configuration.
  86. TAKEOWN Allows an administrator to take ownership of a file 
  87. TASKLIST Displays all currently running tasks including services.
  88. TASKKILL Kill or stop a running process or application.
  89. TIME Displays or sets the system time.
  90. TIMEOUT Pauses the command processor for the specified number of seconds
  91. TITLE Sets the window title for a CMD.EXE session.
  92. TREE Graphically displays the directory structure of a drive or path.
  93. TYPE Displays the contents of a text file.
  94. VER Displays the Windows version.
  95. VERIFY Tells Windows whether to verify that your files are written correctly to a disk.
  96. VOL Displays a disk volume label and serial number.
  97. VSSADMIN Volume Shadow Copy Service administration tool
  98. WHERE Displays the location of files that match a search pattern. 
  99. XCOPY Copies files and directory trees.
  100. WMIC Displays WMI information inside interactive command shell.

i hope u will try some of them, as they r few only :P
thanks for visiting bye :)


Give your Opinion !

Copyright © 2012 cyberaditya.