SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
962 B

@echo off
rem -----------------------------
rem Shell-Kommando "wget.bat"
rem -----------------------------
rem -------------------------------------------------------------------
rem wget - Eine Java-Klasse, die eine XML-Datei von einem Server herunterladen kann
rem wget.bat (für Windows)
rem wget.x (für Linux)
rem als Parameter gibt man an
rem wget.x URL Dateiname.xls
rem wget.bat "http://solomon:8080/superx/servlet/SuperXmlTabelle^?tid^=19220^&kennung^=superx^&passwort^=anfang12" test.xls
rem -------------------------------------------------------------------
if not "%1" == "" goto gotParams
echo Aufruf: wget.bat URL Dateiname.xml
echo
echo
goto finish
fi
:gotParams
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
java -cp %JDBC_CLASSPATH% de.superx.bin.Wget %CMD_LINE_ARGS%
:finish