Thursday, May 2, 2013

Windows CMD Shell Command Line Syntax


  1. Windows CMD Shell Command Line Syntax
  2. Parameters    Command Line Parameters  %1  %~f1
  3. Variables     Create/read environment variables.
  4. Redirection   Spooling output to a file, piping input.
  5. AND/OR Logic  Conditional Execution (If-Then-Else)
  6. Loops         Loops and Subroutines.
  7. functions     How to package blocks of code.
  8. Services     List of Windows XP Services
  9. Evaluating expressions
  10. Using brackets to Group and expand expressions.
  11. Delayed Expansion Variables within loops.
  12. Escape chars, delimiters and quotes
  13. SET /A        Environment variable arithmetic.
  14. VarSubstring  Extract part of a variable (substring)
  15. VarSearch     Search & replace part of a variable.
  16. RANDOM        Random Numbers.
  17. Wildcards     Match multiple files.
  18.  
  19. Batch Files
  20. Run a script  How to run a script.
  21. DateMath      Add or subtract days from any date.
  22. GetDate.cmd   Get todays date (any region, any OS.)
  23. GetTime.cmd   Get the time now.
  24. GetGMT.cmd    Time adjusted to Greenwich Mean Time.
  25. DeQuote       Remove quotes from a string.
  26. DelOlder      Delete files more than n days old.
  27. StampMe.cmd   Rename a file with the date/time.
  28. tdiff.cmd     Time difference in Hours/Minutes.
  29. Which.cmd     Display full path to any command.
  30. xlong.cmd     Find filenames that exceed the 256 char pathname limit.
  31. DragDrop.cmd  Drag and drop onto a batch script.
  32.  
  33. Reference/How to
  34. Autoexec       Run commands at startup.
  35. Slow Browsing  Speed up network browsing.
  36. Desktop Heap   Memory configuration.
  37. Long Filenames NTFS filename issues.
  38. Display DPI    Monitor size settings.
  39. CMD Internal   Commands that are Internal to the CMD shell.
  40. Keyboard       CMD Keyboard shortcuts.
  41. Printing       Printer connections and print drivers.
  42. Recovery       The Recovery Console.
  43. RUN commands   Start | Run commands.
  44. ProfileFolders Location of User profile folders (XP/Vista/Windows 7).
  45. Registry       User interface settings (XP)
  46. BuiltIn Groups Built-In Users and Security Groups.
  47. Groups         Local Domain groups, Global and Universal groups.
  48. 64Bit          Detect 64 bit vs 32 bit Windows.
  49.  
  50.  
  51.  

No comments:

Post a Comment