mirror of
https://github.com/cmderdev/cmder.git
synced 2025-07-16 12:39:38 +08:00
18 lines
684 B
Batchfile
18 lines
684 B
Batchfile
::http://support.microsoft.com/kb/2570538
|
|
::http://robrelyea.wordpress.com/2007/07/13/may-be-helpful-ngen-exe-executequeueditems/
|
|
|
|
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT
|
|
|
|
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue > NUL
|
|
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe executequeueditems > NUL
|
|
|
|
exit 0
|
|
|
|
:64BIT
|
|
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue > NUL
|
|
%windir%\microsoft.net\framework64\v4.0.30319\ngen.exe update /force /queue > NUL
|
|
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe executequeueditems > NUL
|
|
%windir%\microsoft.net\framework64\v4.0.30319\ngen.exe executequeueditems > NUL
|
|
|
|
exit 0
|