# Commandline arg to prevent archive stage in a BuildCookRun?

**URL:** <https://forums.unrealengine.com/t/commandline-arg-to-prevent-archive-stage-in-a-buildcookrun/441117>\
**Category:** Platform & Builds\
**Tags:** Cooking, project-launcher, uat, unreal-engine, packaging-projects, question\
**Created:** [January 11, 2019, 6:17pm UTC](https://forums.unrealengine.com/t/commandline-arg-to-prevent-archive-stage-in-a-buildcookrun/441117 "2019-01-11T18:17:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8de6edab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8de6edab](https://forums.unrealengine.com/u/anonymous_user_8de6edab)\
**Post date:** [January 11, 2019, 6:17pm UTC](https://forums.unrealengine.com/t/commandline-arg-to-prevent-archive-stage-in-a-buildcookrun/441117/1 "2019-01-11T18:17:32Z")

</div>

I used the Project Launcher tool to generate a desired set of commandline args to send to UE4-Cmd to perform a BuildCookRun.

I do not desire an archive step to run, and did not select this option in the Project Launcher config I constructed.

However, when I run the build command, I get this warning:

```
2019-01-11 09:46:11 WARNING: No Archive Dir specified! Using default Z:\AutomatedBuilds

```

This path is coming from a value set in my project settings.

Is there a flag I can pass to suppress the archive stage entirely? Eg -noarchive or something? Instead of this behavior where it falls back to a project default?

Here is the command generated by the tool I am using:

```
BuildCookRun -project=foobarproject -noP4 -clientconfig=Shipping -serverconfig=Shipping -nocompile -nocompileeditor -ue4exe=UE4Editor-Cmd.exe -utf8output -platform=Win64 -targetplatform=Win64 -build -cook -map=foobarmap -unversionedcookedcontent -pak -stage -package -stagingdirectory=foopath -cmdline=foobarmap

```

Thanks
