Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lamberta Schmidt   on Jan 16 In Java Category.

  
Question Answered By: Benny Torres   on Jan 16

Assuming you use Windows :)

Open up notepad, write what you need to do in the bat  file, save it as a
.bat file

Eg

Open -> Notepade.exe
write -> javac CompileJavaFile.java
write -> java  RunJavaFile
SaveAs -> RunCompile.bat (in the directory your java files are in)

A .bat file  should have appeared in that directory :) Double click it
for fun and adventure.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on bat file Or get search suggestion and latest updates.


Tagged: