简体   繁体   English

您可以使用批处理脚本在 Windows 10 中设置默认浏览器吗?

[英]Can you set your default browser in Windows 10 with a batch script?

I am making a batch script to launch some programs on a computer at my university that I use for class.我正在制作一个批处理脚本,以在我大学的计算机上启动一些用于 class 的程序。 The Computer resets every night however have a folder that maintains persistence.计算机每晚都会重置,但是有一个文件夹可以保持持久性。 I am making a batch script and I would like to open a website however the default browser is Edge and I would like to use Firefox, is there a way to change the default browser from the script?我正在制作一个批处理脚本,我想打开一个网站,但是默认浏览器是 Edge,我想使用 Firefox,有没有办法从脚本中更改默认浏览器?

Try changing the default browser in the script as follows for Firefox尝试为 Firefox 更改脚本中的默认浏览器,如下所示

start Firefox https://www.google.co.in/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows 7中将批处理脚本或EXE设置为默认浏览器 - Setting a batch script or EXE as default browser in Windows 7 如何在 Windows 10 上使用“npm start”打开您想要的默认浏览器 - How to open the browser that you want as default with "npm start" on Windows 10 在Windows 10中,我可以为Docker文件设置默认的“打开方式”应用程序吗? - In Windows 10, can I set a default “Open with” application for docker files? 如何使用批处理脚本在 Windows 10 中获取 Windows 注册表项的值 - How can I get the value of a windows registry key in windows 10 with batch script 批处理脚本中 Set /p 的默认值 - default value of Set /p in batch script 使Windows 10将您的应用识别为默认应用选项 - Making Windows 10 recognize your app as a Default app option 如何在Windows批处理文件或linux shell脚本中传递10个以上的参数 - How can I pass more than 10 arguments in windows batch file or linux shell script 如何获取活动连接上的 DNS 默认网关 IP 并使用 Windows 10 批处理文件将其设置为变量? - How do I get the DNS Default Gateway IP on the active connection and set it to a variable using a Windows 10 Batch file? Windows批处理脚本SVN删除文件夹集 - windows batch script to svn delete set of folders 将环境变量设置为>'graterthan'Windows 7批处理脚本 - Set environment variable to > 'graterthan' windows 7 batch script
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM