You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
Batchfile
50 lines
1.3 KiB
Batchfile
:: Need to set up
|
|
|
|
@echo off
|
|
|
|
REM
|
|
REM All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
|
REM its licensors.
|
|
REM
|
|
REM For complete copyright and license terms please see the LICENSE at the root of this
|
|
REM distribution (the "License"). All use of this software is governed by the License,
|
|
REM or, if provided, by the license below or the license accompanying this file. Do not
|
|
REM remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
|
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
REM
|
|
|
|
:: Set up and run LY Python CMD prompt
|
|
:: Sets up the DccScriptingInterface_Env,
|
|
:: Puts you in the CMD within the dev environment
|
|
|
|
:: Set up window
|
|
TITLE Lumberyard DCC Scripting Interface Cmd
|
|
:: Use obvious color to prevent confusion (Grey with Yellow Text)
|
|
COLOR 8E
|
|
|
|
%~d0
|
|
cd %~dp0
|
|
PUSHD %~dp0
|
|
|
|
:: Keep changes local
|
|
SETLOCAL enableDelayedExpansion
|
|
|
|
CALL %~dp0\Project_Env.bat
|
|
|
|
echo.
|
|
echo _____________________________________________________________________
|
|
echo.
|
|
echo ~ LY DCC Scripting Interface CMD ...
|
|
echo _____________________________________________________________________
|
|
echo.
|
|
|
|
:: Create command prompt with environment
|
|
CALL %windir%\system32\cmd.exe
|
|
|
|
ENDLOCAL
|
|
|
|
:: Return to starting directory
|
|
POPD
|
|
|
|
:END_OF_FILE
|