# How can I rename \*just\* the executable when packaging a windows build?

**URL:** <https://forums.unrealengine.com/t/how-can-i-rename-just-the-executable-when-packaging-a-windows-build/1909450>\
**Category:** Platform & Builds\
**Tags:** package, windows, executable, win64, unreal-engine, Packaging, packaging-projects, question\
**Created:** [June 19, 2024, 9:00pm UTC](https://forums.unrealengine.com/t/how-can-i-rename-just-the-executable-when-packaging-a-windows-build/1909450 "2024-06-19T21:00:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamvubs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adamvubs](https://forums.unrealengine.com/u/adamvubs)\
**Post date:** [June 19, 2024, 9:00pm UTC](https://forums.unrealengine.com/t/how-can-i-rename-just-the-executable-when-packaging-a-windows-build/1909450/1 "2024-06-19T21:00:20Z")

</div>

I am making a packaged build

When I `BuildCookRun`, I look at my output `foo.exe` in the root folder and `root\MyGame\Binaries\Win64\foo-Win64-shipping.exe`  
I would like to configure things such that when I build I get `bar.exe` in the root folder and `root\MyGame\Binaries\Win64\bar-Win64-shipping.exe`

Renaming executables isn’t sufficient since process name etc. would still be `foo`  
From what I’ve read (e.g.: [Specify the name of packaged exe?](https://forums.unrealengine.com/t/specify-the-name-of-packaged-exe/375605)) it seems like the only way to achieve is to rename the entire project  
This isn’t ideal for our use-case because executable name might further change, our project is quite large so renaming it requires a lot of effort etc.

Is there a way to achieve this relatively painlessly? Our ideal solution would see us do some ini modifications or pass in a parameter to specify the executable name that we want
