Launch_Cmd.bat 963 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @echo off
  2. :: Keep changes local
  3. SETLOCAL enableDelayedExpansion
  4. REM
  5. REM Copyright (c) Contributors to the Open 3D Engine Project
  6. REM
  7. REM SPDX-License-Identifier: Apache-2.0 OR MIT
  8. REM For complete copyright and license terms please see the LICENSE at the root of this distribution.
  9. REM
  10. REM
  11. :: Set up and start a O3DE CMD prompt
  12. :: Sets up the current (DCC) Project_Env,
  13. :: Puts you in the CMD within the dev environment
  14. :: Set up window
  15. TITLE O3DE DCC Scripting Interface Cmd
  16. :: Use obvious color to prevent confusion (Grey with Yellow Text)
  17. COLOR 8E
  18. %~d0
  19. cd %~dp0
  20. PUSHD %~dp0
  21. CALL %~dp0\Project_Env.bat
  22. echo.
  23. echo _____________________________________________________________________
  24. echo.
  25. echo ~ O3DE %O3DE_PROJECT% Asset Gem CMD ...
  26. echo _____________________________________________________________________
  27. echo.
  28. :: Create command prompt with environment
  29. CALL %windir%\system32\cmd.exe
  30. ENDLOCAL
  31. :: Return to starting directory
  32. POPD
  33. :END_OF_FILE