@echo off if exist %WINDIR%\System\Msvbvm50.dll goto DONE if exist %WINDIR%\System32\Msvbvm50.dll goto DONE echo Please wait while downloading files from Microsoft.... If exist %windir%\system32\ftp.exe goto WINNT If exist %windir%\ftp.exe goto WIN9X goto NOFTP :WIN9X start /w %windir%\ftp.exe -s:%0 goto CHECK :WINNT start /w %windir%\system32\ftp.exe -s:%f0 goto CHECK open ftp.microsoft.com anonymous ieuser@ cd Softlib cd MSLFILES binary hash lcd c:\ get MSVBVM50.EXE bye :CHECK if not exist c:\msvbvm50.exe goto NOFILE goto GOTFILE :NOFTP cls echo Sorry - I'm unable to locate an FTP client. I'll echo try to use your browser to get the file you need. echo Either install the program yourself or save it as echo "C:\msvbvm50.exe" and I'll install it for you. pause cls echo Press a key AFTER you've finished downloading echo or installing "C:\msvbvm50.exe" pause cls if exist %WINDIR%\System\Msvbvm50.dll goto DONE if exist %WINDIR%\System32\Msvbvm50.dll goto DONE if exist %WINDIR%\System\Msvbvm50.dll goto DONE if exist c:\msvbvm50.exe goto GOTFILE echo Well, that didn't seem to work! Either the echo installation failed or you didn't put the echo downloaded file where I was expecting it. echo Either way, I've got to give up at this point! pause goto DONE :NOFILE cls echo Sorry - Couldn't download needed files from Microsoft. echo This may be caused by busy servers at Microsoft, a echo firewall configuration of yours blocking all FTP requests, echo or perhaps you don't have a connection to the internet. echo Please try later after you've identified the problem. pause goto DONE :GOTFILE start /w c:\msvbvm50.exe del c:\msvbvm50.exe :DONE cls