Batch File output to File with java twist

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have written a batch file that uses about 5 menus before executing a
java class based upon the input from the user.

What i would like to do is have all the output from the java execution
being written to a file so that in the event of any problems they can
be quickly debuged (the actual execution times are pretty big in this
case) without having to repeat the process.

I've tried a number of different things I've seen on this and other
forums and have failed to find a solution to my problem.

The most common ones were the > or >> which creates a file then does
not display my interface followed by not actually recoring any of the
output. and command /c batfilename.bat >out.txt which just fails.

If anyone can help be here it would be much appreciated.

.



Relevant Pages

  • Java threads & deamons
    ... We are trying to make a "batch" execution in a Oracle DB 9.2.4 with ... procedure/package without waiting the result from the ... The java class we have created has this piece of code inside: ... waiting the thread forkato ending: ...
    (comp.lang.java.databases)
  • Re: Batch file and MFC (Properly Terminating Application)
    ... This is continuation of previous post listed under Subject: Batch file ... EVER write something as ridiculous as comparing a BOOL to TRUE or FALSE!!!! ... execution, and therefore presuming synchronous execution is completely wrong. ... TraceEvent * Explanation ...
    (microsoft.public.vc.mfc)
  • Re: Problem when executing application from batch file
    ... I like that /b extra parameter as indication of the batch execution too. ... It will allow me to provide special code for batch file execution only, ... >>from command prompt and if there are more commands it will store commands ... > until the /Windows/ App is closed ...
    (microsoft.public.vb.general.discussion)
  • Re: Schedule Batch File-How to?
    ... Panel> Scheduled Task etc. and the batch file name was used as the program ... The destination locations were checked to insure execution had taken place ... Windows command that you are using within the batch file. ... according to the schedule you selected. ...
    (microsoft.public.windowsxp.general)
  • Re: Issue in execution of batch files Windows XP Pro
    ... folder just created ... What we noticed is that bigger is the file batch file (just placing more ... Just changing the extension from .bat to .cmd the execution become faster. ... Since running your program as a .cmd file ...
    (microsoft.public.windowsxp.general)