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.
The purpose is to open the chrome browser in my current folder.
As mentioned above, I can click the bat file to open it with the mouse, but the processing can’t open it anyhow. The path of the bat file is the same and there is no change.
code launch(sketchPath("")+"data/9.bat");
This is the file path in data.
There is no problem with your method, I can open it, but the problem is that when I move the chrome file to my project data folder, I can’t open it with the chrome browser.
I’m so sorry I don’t know if you can understand the problem I’m expressing
To put it simply, I am not sure whether the computer I want to use has a chrome browser, so I want to bring a chrome browser decompressed program, and then I want to specify the chrome browser in my own data to open the website I specify.but it not work.