寻找帮助编写批处理文件以作为我朋友的笑话。基本上我希望它在chrome中打开某个URL。然后我打算把它伪装成像svchost.exe这样的东西,让它在启动时运行一个计时器。 非常感谢!
答案 0 :(得分:62)
这很简单。试试吧:
start chrome https://www.google.co.in/
它将在Chrome浏览器中打开Google页面。
如果您想在Firefox中打开该页面,请尝试:
start firefox https://www.google.co.in/
玩得开心!
答案 1 :(得分:10)
假设chrome是他的默认浏览器:start http://url.site.you.com/path/to/joke
应该在他的浏览器中打开该URL。
答案 2 :(得分:0)
@ECHO OFF
"c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app="https://tweetdeck.twitter.com/"
@ECHO OFF
"c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app="https://web.whatsapp.com/"