Click here to Skip to main content
15,888,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Badly need batch file code to type a url in my chrome browser.
Posted

1 solution

hi, try this:

@echo off
start chrome "www.codeproject.com" "www.google.com"


or if you don't have your environmental variables correctly set:

@echo off
start C:\Users\<your username>\AppData\Local\Google\Chrome\Application\chrome.exe "www.codeproject.com" "www.google.com"
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900