New website live! to report any issues.

Download 1ere Bat Doc -

Name the file first_piece.bat . The extension is essential for Windows to recognize it as a script.

@echo off title My First Batch Script echo Hello! This is my first complete batch piece. pause Use code with caution. Copied to clipboard Download 1ere bat doc

: Allows the script to perform different actions based on conditions. Name the file first_piece

: Creates variables to store information for later use in the script. How to Create a Simple Batch File In Windows 10/8/7 This is my first complete batch piece

: Keeps the window open so you can read the output; otherwise, it closes immediately after finishing. Save the File : Go to File > Save As . Change "Save as type" to All Files ( . ) .

: Press the Win key, type Notepad , and hit Enter .

: Copy and paste the following "Hello World" template into Notepad: