View Single Post
  #14 (permalink)  
Old 09-30-2008, 01:11 AM
GhosT's Avatar
GhosT GhosT is offline
Member
 
Join Date: Sep 2008
Location: Dhaka, Bangladesh
Posts: 37
GhosT is on a distinguished road
make a batch file and place it in the same directory of your program...

Code:
cd\ M: \\Replace it by the drive ur file is in ie C: cd YourJavaFilePath javac FileName.java java FileName>results.txt
so all u need to do is open the text file and check the results...once u make a batch file u can copy paste it to make others...

example: this batch runs M:\JavaServerClientProgram\LocalScan.java and gives output in results.txt
Code:
cd\ M: cd JavaServerClientProgram javac LocalScan.java java LocalScan>results.txt

Last edited by GhosT : 09-30-2008 at 01:13 AM.
Reply With Quote