

:: Same as before filtering down to latest dot versionįor /f %%1 in (versions.txt) do echo %%1 > versions.tmp

:: Load latest full version into variable set /p fullVer = Reader.ftpĮcho cd pub /adobe/reader/win/%fullVer%.x>Reader.ftp echo dir> Reader.ftp :: Determine latest version for /l %%1 in ( 1, 1, 11) do (įor /f %%a in (versions.txt) do if "%%a" = "%%1" echo %%1 > versions.tmp Type versions.tmp | findstr /v > versions.txt Type versions.tmp | findstr > versions.txtįor /f "tokens=1 delims=." %%1 in (versions.txt) do echo %%1> versions.tmp Type ftp.tmp | findstr drwxrwxr > ftp.txtįor /f "tokens=9 delims= " %%1 in (ftp.txt) do echo %%1> versions.tmp :: Filter out FTP return to just files/folders :: Get Reader Directory from Adobe call menu.bat Getting Whole VersionĮcho cd pub /adobe/reader/win>Reader.ftp echo dir> Reader.ftp :: Options set installerFileName =LatestReader.exeĮcho echo => menu.bat

This has :: :: tested succesfull on Windows Vista 32bit with :: :: Reader version 9.x.
