armenv.bat

来自「realview22.rar」· Batch 代码 · 共 50 行

BAT
50
字号
@echo offREM Wrapper Script: armenvREM Copyright 2004 ARM Limited. All rights reserved.REMREM A convenience wrapper script for the armenv utilityREMREM we can't use setlocal and endlocal since we need to retain the environment set up by call?REMREM $Revision: 1.1.2.3 $GOTO SKIPMARKER 6:SKIPset __ARMENV=%~dp0_armenv.exefor %%I in ("%~dp0..\..") do set __ARMROOT=%%~fIset __MMBAT=false:LOOPIF "%1" == "--bat" set __MMBAT=trueSHIFTIF "%1" == "" GOTO ELOOPGOTO LOOP:ELOOPREM run armenv once, and get the error code@"%__ARMENV%" -r "%__ARMROOT%" %* > "%TEMP%\armenvtemp.bat"IF NOT "%ERRORLEVEL%"=="0" GOTO EXECAGAINIF "%__MMBAT%"=="false" GOTO NOTBAT   REM We know the call to armenv succeeded   call "%TEMP%\armenvtemp.bat"   GOTO END:EXECAGAIN   @echo on   @"%__ARMENV%" -r "%__ARMROOT%" %*   @echo off   GOTO END:NOTBAT   GOTO END:END@echo offset __ARMENV=set __MMBAT=set __ARMROOT=

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?