Skip to main content

can anybody let me know how to create a batch file in jave

1 reply [Last post]
jdsony
Offline
Joined: 2007-09-25

can anybody let me know what a batch file is and how to create a batch file in java?

thank you in anticipation

cheers

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
a_maged
Offline
Joined: 2007-11-27

import java.io.*;
import java.io.net.*;
File a=new File("test.bat");
a.createNewFile();