1@ECHO off 2 3"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -property installationPath > vcpath.txt 4set /p vcpath=<vcpath.txt 5del vcpath.txt 6call "%vcpath%\VC\Auxiliary\Build\vcvarsall.bat" x64 7 8cd ..\libmpdec 9if exist Makefile nmake distclean 10 11cd ..\libmpdec++ 12if exist Makefile nmake distclean 13 14cd ..\tests 15if exist Makefile nmake distclean 16 17cd ..\tests++ 18if exist Makefile nmake distclean 19 20cd ..\vcbuild 21if exist additional.decTest del /q additional.decTest 22if exist official.decTest del /q official.decTest 23if exist dectest.zip del /q dectest.zip 24if exist dist64 rd /q /s dist64 25if exist dist32 rd /q /s dist32 26if exist testdata rd /q /s testdata 27 28 29 30