Hi Sonal, I hope you are talking about writing batch file on windows. Batch file is about instructing OS to execute the command in the sequence you want. List of batch command can be found by typing help in command prompt. You wisely arrange commands to achieve your requirements. [ April 28, 2006: Message edited by: Arun Boraiah ]
According to my knowledge there are two types of Batch files:
1. Java Batch Programs These are the classes which have directly a main program which will directly interact with user via command line arguments. These types of Batch programs are usefull in environments like on AS400/OS/2 Environment etc.
2. Batch File. This is used to execute some number of commands sequentially . Like when we are in the folder where are some java classes.
then we might right these commands in Batch file
Now save this file as "Sample.bat"
Now when you double click on these files these will seems to be running as an exe of JAVA.
Hope this will help you a lot.
But still if any concern then revert me back............