Saturday, September 4, 2021

How to script a Windows Bat or Batch files


Windows Bat or Batch files

On Windows 10, a batch file typically has a ".bat" extension, and it is a special text file that includes one or multiple commands that run in sequence to perform various actions with Command Prompt.

A batch file contains a script task to run sequentially (run multiple exes, open command prompts, copy or move files to different locations)

  • Open note pad or notepad++
  • Write the script
  • Save with commincation.bat extension
  • Now you can double click and run the commincation.bat file




 

No comments:

Post a Comment

LeetCode C++ Cheat Sheet June

🎯 Core Patterns & Representative Questions 1. Arrays & Hashing Two Sum – hash map → O(n) Contains Duplicate , Product of A...