@echo off cmd.exe /v /c "%~dp0Engine\Build\BatchFiles\CopyVisualizers.bat" if not exist "%~dp0Engine\Build\BatchFiles\GenerateProjectFiles.bat" goto Error_BatchFileInWrongLocation call "%~dp0Engine\Build\BatchFiles\GenerateProjectFiles.bat" %* goto Exit :Error_BatchFileInWrongLocation echo GenerateProjectFiles ERROR: The batch file does not appear to be located in the root UE4 directory. This script must be run from within that directory. pause goto Exit :Exit