Full Version: batch programming
gokul1234
I have a batch file run from a web server.The batch file calls a java program.
a short scode:

REM This batch file runs the Spider with the [-v] option.
REM Lines 51 through 54 are simple DOS commands..they call the Spider
REM The location of the Spider package is the important piece of information here...
REM a batch file has access to the whole computer where the server resides.

setlocal

set JDK=C:\j2sdk1.4.1_01
set PATH=%JDK%\bin;.;%PATH%
CLASSPATH=%JDK%\jre\lib\*.jar;.;%JDK%\jre\lib\ext\*.jar;.;%CLASSPATH%

java spiderpackage.EntryPoint -v > moo.txt 2>&1

endlocal


I am unable to get the output on to my browser when I tried to run this batch file from my web server.
GSecur
Welcome to the board.

Is this a Java program you developed or an off the shelf one. Reason I am asking is the Batch file seems to be properly formatted. If it is a off the shelf program I'll try to fiddle with it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.