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.

18 lines
494 B

@echo off
rem Try to find the AMD64 assembler and call it with the supplied arguments.
set MLEXE=Microsoft Platform SDK\Bin\Win64\x86\AMD64\ml64.EXE
rem For the environment variables see also
rem http://msdn.microsoft.com/library/en-us/win64/win64/wow64_implementation_details.asp
if exist "%ProgramFiles%\%MLEXE%" (
set ML64="%ProgramFiles%\%MLEXE%"
) else if exist "%ProgramW6432%\%MLEXE%" (
set ML64="%ProgramW6432%\%MLEXE%"
) else (
set ML64=ml64.exe
)
%ML64% %*