# how to UAT bat package correctly without editor?

**URL:** <https://forums.unrealengine.com/t/how-to-uat-bat-package-correctly-without-editor/1177867>\
**Category:** International\
**Tags:** uat, unreal-engine, Packaging\
**Created:** [May 25, 2023, 6:43am UTC](https://forums.unrealengine.com/t/how-to-uat-bat-package-correctly-without-editor/1177867 "2023-05-25T06:43:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timonfreud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/timonfreud/32/1092636_2.png) [@timonfreud](https://forums.unrealengine.com/u/timonfreud)\
**Post date:** [May 25, 2023, 6:43am UTC](https://forums.unrealengine.com/t/how-to-uat-bat-package-correctly-without-editor/1177867/1 "2023-05-25T06:43:38Z")

</div>

Here is my UAT packaging batch script without editor. Could you take a look, and how to make it without Unreal Engine Editor? Archive directory get nothing.

Thanks!

E:\UE\_5.0\Engine\Build\BatchFiles\RunUAT.bat -ScriptsForProject=“F:/digitalTwin.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -project=“F:/digitalTwin.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -cook -allmaps -project=“F:/digitalTwin.uproject” -target=digitalTwin -unrealexe=“E:\UE\_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -ddc=InstalledDerivedDataBackendG  
raph -installed -stage -archive -package -build -compressed -iostore -pak -prereqs -archivedirectory=“C:/package/Windows” -clientconfig=Development -nocompile

---

<div class="post-metadata">

**Author:** ![timonfreud](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/timonfreud/32/1092636_2.png) [@timonfreud](https://forums.unrealengine.com/u/timonfreud)\
**Post date:** [May 29, 2023, 9:32am UTC](https://forums.unrealengine.com/t/how-to-uat-bat-package-correctly-without-editor/1177867/2 "2023-05-29T09:32:30Z")

</div>

Fix it1 I just copy from editor BuildCookRun script.

E:/UE\_5.0/Engine/Build/BatchFiles/RunUAT.bat -ScriptsForProject=F:/UE5Project/digitalTwin/ue5/digitalTwin.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=4251 -project=F:/UE5Project/digitalTwin/ue5/digitalTwin.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=F:/UE5Project/digitalTwin/ue5/digitalTwin.uproject -target=digitalTwin -unrealexe=E:\UE\_5.0\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -build -compressed -ios  
tore -pak -prereqs -archivedirectory=C:/Users/Administrator/Desktop -clientconfig=Development -nodebuginfo -nocompile
