# How to luanch .exe according to resolution?

**URL:** <https://forum.kirupa.com/t/how-to-luanch-exe-according-to-resolution/36607>\
**Category:** design\
**Created:** [November 28, 2003, 10:53pm UTC](https://forum.kirupa.com/t/how-to-luanch-exe-according-to-resolution/36607 "2003-11-28T22:53:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhino1616](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rhino1616](https://forum.kirupa.com/u/rhino1616)\
**Post date:** [November 28, 2003, 10:53pm UTC](https://forum.kirupa.com/t/how-to-luanch-exe-according-to-resolution/36607/1 "2003-11-28T22:53:37Z")

</div>

Good afternoon.

I think I probably set myself up wrong. I want to put 2 .exe not .swf files (I created in Swish: 1 file for 800x600 rez the other for 1024x768 rez) on a CD, I then want the CD to autorun and launch the appropriate file according to the users resolution settings. My main file is the 800x600 file.

I was thinking it might be done by adding something to the begining of the 800x600 file & when it begins to load it will scan the system first, then launch the appropriste file & stop the one without the proper rez. Would I add some special script, fscommand,combination script & commands,…etc? Or add an HTML file to the CD to achieve this function (but then I dont think you can autorun, because autorun cant launch an HTML file) Is there a tutorial or example I could see somewhere, unfortunately I cant write code. Im getting a little lost, am I even close?.

Thank you
