
So I have a bat file at...
http://mywebsite.com/WM/AppData.bat...
and in the bat file it has...
set "currentversion=1.0"
set "updatedate=2013/05/15"
set "updatefixes=Fixed This, Added This And Removed This"
set "updatefilepath=a URL"
set "changelogmodesize=54,30"
As AppData.bat. Now I would like to call this bat file (No I don't want to download it with wget.exe or anonymously ftp download it. I just want to load it (call it)
echo.
echo Checking for an update...
ping localhost -n 2 >nul
call http://mywebsite.com/WM/AppData.bat
Then I would echo the variable's...
if not "%version%"=="%currentversion%" (
goto updateTrue
) else (
goto updateFalse )
:updateTrue
echo Update = true
echo Version: "%currentversion%", "%updatedate%"
echo.
pause
Thanks for your time
