batch-file 532

  1. How do I pass command line parameters to a batch file?
  2. What does %~dp0 mean, and how does it work?
  3. Windows batch files: .bat vs .cmd?
  4. Batch file to delete files older than N days
  5. How do I run two commands in one line in Windows CMD?
  6. How to “comment-out” (add comment) in a batch/cmd?
  7. Long commands split over multiple lines in Windows Vista batch (.bat) file
  8. How to sleep for 5 seconds in Windows's Command Prompt? (or DOS)
  9. How can you echo a newline in batch files?
  10. How to run multiple .BAT files within a .BAT file
  11. How do I get current datetime on the Windows command line, in a suitable format for using in a filename?
  12. How can you find and replace text in a file using the Windows command-line environment?
  13. How do I measure execution time of a command on the Windows command line?
  14. How to prevent auto-closing of console after the execution of batch file.
  15. How to check if a file exists from inside a batch file
  16. Get list of passed arguments in Windows batch script (.bat)
  17. What is the current directory in a batch file?
  18. Declaring and using a variable in Windows batch file (.BAT)
  19. Create folder with batch but only if it doesn't already exist
  20. Displaying Windows command prompt output and redirecting it to a file
  21. What does %~d0 mean in a Windows batch file?
  22. Iterate all files in a directory using a 'for' loop
  23. Stop and Start a service via batch or cmd file?
  24. Hidden features of Windows batch files
  25. In Windows cmd, how do I prompt for user input and use the result in another command?
  26. How do I make a batch file terminate upon encountering an error?
  27. How to do something to each file in a directory with a batch script
  28. Batch script: how to check for admin rights
  29. How to check if a process is running via a batch script
  30. How to get the path of the batch script in Windows?
  31. How can you zip or unzip from the script using ONLY Windows' built-in capabilities?
  32. Quickly create large file on a windows system?
  33. How to delete files/subfolders in a specific directory at command prompt in Windows
  34. How to create empty text file from a batch file?
  35. Logical operators (“and”, “or”) in DOS batch
  36. Batch not-equal (inequality) operator
  37. Assign output of a program to a variable
  38. Which comment style should I use in batch files?
  39. Batch script loop
  40. Get current batchfile directory
  41. Batch file to copy files from one folder to another folder
  42. How can I auto-elevate my batch file, so that it requests from UAC administrator rights if required?
  43. How do you loop through each line in a text file using a windows batch file?
  44. What is the best way to do a substring in a batch file?
  45. Windows batch: echo without new line
  46. I want to delete all bin and obj folders to force all projects to rebuild everything
  47. What are the undocumented features and limitations of the Windows FINDSTR command?
  48. Capture Curl Output to a File
  49. How to loop through files matching wildcard in batch file
  50. Setting a system environment variable from a Windows batch file?