I am unable to run a java program from a batch file that i created. spiderpackage.EntryPoint is a class file which I am trying to run with a -v option to output something.what should I do to get the output to a file???
The greater-than sign is used to redirect output to a file. It seems like you want the entire batch output in the file so, assuming the script is in mybatch.bat: mybatch > myfile.html should do the trick. You probably want to take "call" out of the script. That's used specifically for calling another batch file.