# How can i add a "Open with" function?

**URL:** <https://discourse.processing.org/t/how-can-i-add-a-open-with-function/41062>\
**Category:** Processing\
**Created:** [February 25, 2023, 5:16pm UTC](https://discourse.processing.org/t/how-can-i-add-a-open-with-function/41062 "2023-02-25T17:16:27Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [February 27, 2023, 6:30pm UTC](https://discourse.processing.org/t/how-can-i-add-a-open-with-function/41062/7 "2023-02-27T18:30:37Z")

</div>

Hi,  
Just an addition…

Unfortunately there are some difficulties using the “Open with” Explorer feature. Even as you can choose the Sketch executable it wouldn’t run as expected as for the sketch executable it is mandatory to have the working directory set to the executable path to run properly but this isn’t the case when Explorer starts the process for the sketch executable by using “Open With…”.  
As a workaround one can use a batch file as described above and run that by “Open With…”

Cheers  
— mnse

---

_[View the full topic](https://discourse.processing.org/t/how-can-i-add-a-open-with-function/41062)._
