# How can I create a cmd script to keep different clients open

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-create-a-cmd-script-to-keep-different-clients-open/12183>\
**Category:** Archived Topics\
**Created:** [September 28, 2016, 3:02pm UTC](https://forum.inductiveautomation.com/t/how-can-i-create-a-cmd-script-to-keep-different-clients-open/12183 "2016-09-28T15:02:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ismael.Nunez](https://avatars.discourse-cdn.com/v4/letter/i/b4bc9f/32.png) [@Ismael.Nunez](https://forum.inductiveautomation.com/u/Ismael.Nunez)\
**Post date:** [September 28, 2016, 3:02pm UTC](https://forum.inductiveautomation.com/t/how-can-i-create-a-cmd-script-to-keep-different-clients-open/12183/1 "2016-09-28T15:02:59Z")

</div>

Hello All,

I’m working in a client that will serve as a factory HMI (schedules, active alarms, etc) replacement. I got three required features to comply with:

[ul]Always open[/ul]  
[ul]Load at windows startup[/ul]  
[ul]Always visible[/ul]

I manged to comply with the last two items in the list but I’m struggling with the first one. How can I keep open at least two (2) different projects?, the legacy app use a cmd script and a windows’ service to check if it’s running, also at the start up another cmd script loads the application maximized with Menu/Windows borders hide by default.

I want to complete this before to advance to production environment. I’m including cmd scripts for reference.  
Thanks for your time!

Legacy App: startup.bat

```auto
start /realtime CIMVIEW /AlwaysMaximized /NoExit /NoMenuTitle \\SERVER\SERVER\screens\MENU_PRINCIPAL.cim
```

Ignition App: starthmi.cmd

```auto
start D:\Downloads\clientlauncher.exe scope=C project=HMI_Assembly windowmode=fullscreen gateway.addr=MY.IP.H.ERE:8088/main
```

Details  
OS: Windows 7 Pro  
Gateway: 7.8  
Java: 1.8 (update 91)
