I’m trying to execute class file. After that I need the output of the class file in a new text file. Every time I run the batch file the output filename should be: ClassOutput+SystemDate.
I mean I’m expecting the text file name is (Classoutput30012012)
cd \
cd Abc\JavaApplication
java MyJavaApplication.Class
I can only guess what you mean here, but let’s try anyway: