# Execute a .bat from ignition takes a long time

**URL:** <https://forum.inductiveautomation.com/t/execute-a-bat-from-ignition-takes-a-long-time/96957>\
**Category:** Ignition\
**Created:** [October 8, 2024, 10:36am UTC](https://forum.inductiveautomation.com/t/execute-a-bat-from-ignition-takes-a-long-time/96957 "2024-10-08T10:36:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ana\_Maria\_Valdeon\_Ju](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Ana\_Maria\_Valdeon\_Ju](https://forum.inductiveautomation.com/u/Ana_Maria_Valdeon_Ju)\
**Post date:** [October 8, 2024, 10:36am UTC](https://forum.inductiveautomation.com/t/execute-a-bat-from-ignition-takes-a-long-time/96957/1 "2024-10-08T10:36:15Z")

</div>

How do I execute a .bat so that it does not take such a long time from ignition? If I do it from cmd it takes 2 min however if I execute it from a script in ignition it takes much more, about 8 min.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 8, 2024, 11:23am UTC](https://forum.inductiveautomation.com/t/execute-a-bat-from-ignition-takes-a-long-time/96957/2 "2024-10-08T11:23:51Z")

</div>

Show your script. See [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

Welcome to the forum.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 9, 2024, 10:41am UTC](https://forum.inductiveautomation.com/t/execute-a-bat-from-ignition-takes-a-long-time/96957/3 "2024-10-09T10:41:30Z")

</div>

Is the issue with accessing the file system? If you open a file explorer from Ignition, does that take a long time to open? Perhaps the issue is an OS security setting or something external to ignition that's delaying Ignition's access to local files.
