17 Jan 2013
Starting browser (Firefox, Safari, Opera, Chrome) from batch/bash script
17 January 2013 / by todiadiyatmo / in General, Tutorial
Last week i got a project to develop a small HTML5 web pages as that behave like a powerpoint slide. This web application is going to act like a flash replacement. So the user must be able to run this web app with a double click on the file. One way to accomplish that task is by using command line script either in mac or windows.
We’re going to use bat file in Windows to do this task.
File : [windows]autostart_browser.bat
@ECHO OFF START CHROME.EXE %~dp0index.html
In Mac we’re going to use a command file :