Windows Open Url From Batch File
Run command for ChromeChrome can be opened from Run window by executing the command chrome.Note that the run command is chrome whereas the CMD command is start chrome C:chrome'chrome' is not recognized as an internal or external command,operable program or batch file.However, you can make it work from CLI too by adding the chrome installation folder to the PATH environment variable. The installation path is 'c:Program Files (x86)GoogleChromeApplication'. You can add this folder to the path by following the instructions from How to open Chrome as a different userUse runas command to start chrome with the credentials of another user. C:Usersuser1runas /user:user2 'C:Program Files (x86)GoogleChromeApplicationChrome.exe'To start chrome as administrator of the system C:Usersuser1runas /user:administrator 'C:Program Files (x86)GoogleChromeApplicationChrome.exe'Enter the password for administrator:Attempting to start C:Program Files (x86)GoogleChromeApplicationChrome.exe as user 'MYPCadministrator'.Open a website in Chrome browser from command promptA website can be opened from command line by specifying the URL of the website. Start chrome www.windows-commandline.com Run command for Chrome to open a websiteRun the command chrome websiteUrl to open a website in chrome.Open chrome in incognito mode from command promptChrome has command line switch to open with incognito mode. This is supported from command prompt and run command. Command to open chrome in incognito mode from CMD start chrome /incognito Command to open incognito mode from Run chrome /incognito.



Batch File To Open Website Chrome
Echo InternetShortcut '%userprofile%desktoplocalpage.url'echo URL=C:myfile.htm '%userprofile%desktoplocalpage.url'echo IconFile=C:iconsfavicon.ico '%userprofile%desktoplocalpage.url'echo IconIndex=0 '%userprofile%desktoplocalpage.url' echo InternetShortcut '%userprofile%desktopgoogle.url'echo URL='%userprofile%desktopgoogle.url'echo IconFile=e:iconsgoogle.ico '%userprofile%desktopgoogle.url'echo IconIndex=0 '%userprofile%desktopgoogle.url'.
There are several ways to open a URL from a command or from within a batch file line in Windows 2000.