How to create an executable batch file on windows

Опубликовано: 01 Май 2026
на канале: Tech It Easy
67
6

This is a video tutorial on how to create an executable Batch file on your windows operation system device.

Step to follow for creating .bat file:
1. Create a .bat file in the same folder where your .jar file is created,
e.g.
Text Editor Notepad ----save it as Test.bat

2.Before saving it type commands as
on 1st line: path of folder where you save .jar file
on 2nd line: command for .jar file
on third line: PAUSE to pause command prompt
eg.1st line----D:\TYCSE\APL
2nd line-----java -jar Sample.jar
3rd line-----PAUSE

Link for .jar file of .java program:    • How to create an executable JAR file on Wi...