# Can't open .bat file!

**URL:** <https://discourse.processing.org/t/cant-open-bat-file/29299>\
**Category:** Coding Questions\
**Created:** [April 12, 2021, 9:53am UTC](https://discourse.processing.org/t/cant-open-bat-file/29299 "2021-04-12T09:53:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [April 13, 2021, 11:09am UTC](https://discourse.processing.org/t/cant-open-bat-file/29299/4 "2021-04-13T11:09:14Z")

</div>

Hello,

Working example:

```auto
/* 
 * Launch Example 1
 * v1.1.0
 * GLV 2021-04-13

 * Launches Google Chrome Portable installed in sketch folder (see paths in code)
 * https://portableapps.com/de/apps/internet/google_chrome_portable
*/

void setup() 
	{ 
  //Works:
  println(sketchPath("")+"data\\GoogleChromePortable\\GoogleChromePortable.exe www.howtogeek.com");
  launch(sketchPath("")+"data\\GoogleChromePortable\\GoogleChromePortable.exe www.howtogeek.com");
  }

```

`:)`

---

_[View the full topic](https://discourse.processing.org/t/cant-open-bat-file/29299)._
