# \-winx and -winy no longer working in 4.8

**URL:** <https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345>\
**Category:** Platform & Builds\
**Tags:** command-line-argumen, command-line, unreal-engine, bug-report, UE4, question\
**Created:** [June 28, 2015, 6:34pm UTC](https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345 "2015-06-28T18:34:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MesaMarshall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MesaMarshall](https://forums.unrealengine.com/u/MesaMarshall)\
**Post date:** [June 28, 2015, 6:34pm UTC](https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345/1 "2015-06-28T18:34:55Z")

</div>

I noticed that in Unreal Engine 4.8 and onward, the command line arguments -winx and -winy, which are used to place the game window in a certain area on the screen, no longer work. I’ve tested this on a blank project in both a batch file and in a shortcut with no luck.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [June 29, 2015, 2:27pm UTC](https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345/2 "2015-06-29T14:27:25Z")

</div>

Hi Mike -

I have been trying to duplicate this issue and have not had much success. Can you verify that your shortcut and or Batch File uses the following format?

> “C:\Users\Eric.Ketchum\Desktop\Packaging Tests\WindowsNoEditor\MyProject.exe” -winx=0 -winy=0 where [C:\Users\Eric.Ketchum\Desktop\Packaging Tests\WindowsNoEditor] is the location of your packaged game

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![MesaMarshall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MesaMarshall](https://forums.unrealengine.com/u/MesaMarshall)\
**Post date:** [June 29, 2015, 7:56pm UTC](https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345/3 "2015-06-29T19:56:16Z")

</div>

I am not running the shortcut from a build of the game. I am running it in editor in game mode (-game).

My shortcut is as follows:

D:\UE4\Engine\Binaries\Win64\UE4Editor.exe “D:\Game\game.uproject” -game -WinX=1920

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [June 29, 2015, 9:33pm UTC](https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345/4 "2015-06-29T21:33:28Z")

</div>

Hi Mike -

I tired again from a reference to the uproject as you specified above and again did not have any issue? My Format was as follows:

> “C:\Program Files\Epic Games\4.8\Engine\Binaries\Win64\UE4Editor.exe” “C:\Users\Eric.Ketchum\Downloads\FlickerTestMM\FlickerTestMM\FlickerTest.uproject” -game -winx=1920 -winy=0

It appears as I expected on the top left of my second monitor.

Eric Ketchum

EDIT: For Reference the line above was in a shortcut and all one line.

---

<div class="post-metadata">

**Author:** ![MesaMarshall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MesaMarshall](https://forums.unrealengine.com/u/MesaMarshall)\
**Post date:** [July 1, 2015, 10:11pm UTC](https://forums.unrealengine.com/t/winx-and-winy-no-longer-working-in-4-8/323345/5 "2015-07-01T22:11:06Z")

</div>

I’ve found it to be my monitor set up that is causing the problem due to my card not detecting my second monitor correctly.

Thank you!
