# Using launch() to start chrome.exe

**URL:** <https://discourse.processing.org/t/using-launch-to-start-chrome-exe/44765>\
**Category:** Coding Questions\
**Created:** [July 14, 2024, 11:01am UTC](https://discourse.processing.org/t/using-launch-to-start-chrome-exe/44765 "2024-07-14T11:01:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [July 14, 2024, 11:57am UTC](https://discourse.processing.org/t/using-launch-to-start-chrome-exe/44765/3 "2024-07-14T11:57:04Z")

</div>

Hello @jorgensen ,

This works on W10 with Processing 4.3:

```auto
/* 
 * Launch Example 1
 * v1.1.1
 * GLV 2024-07-14
*/

void setup() 
  { 
  //Works:
  String s = "\"C:/Program Files (x86)/Google/Chrome/Application/chrome.exe\" www.howtogeek.com";
  println(s);
  launch(s);
  }

```

I had to modify reference below for new location and spaces.

Reference:

> [@Can't open .bat file!](https://discourse.processing.org/t/cant-open-bat-file/29299):
>
> Hi guys, I’m here again. This time the question confuses me. I want to use processing to open the bat file to open Google Chrome, and use launch(sketchPath("")+“data/9.bat”); to solve it. The problem is, but when I change some things in the bat file, I can’t open it with processing, but I can open it with a single mouse click in the folder. original (Can be opened by processing) “C:\Program Files\Google\Chrome\Application\chrome.exe” "[https://www.arsandbox.cn/ImageSwitchP5000/index.html](https://www.arsandbox.cn/ImageSwitchP5000/index.html) --kio…

There may be other ways to do this.

_[String / Reference / Processing.org](https://processing.org/reference/String.html)_ will explain this:

> [@glv](#):
>
> `\"`

`:)`

---

_[View the full topic](https://discourse.processing.org/t/using-launch-to-start-chrome-exe/44765)._
