我试过在 reg 键中设置默认值:
hkeycu>software>microsoft>windows>shell>associations>urlassociations>http
和https
。
尝试使用master_preference
文件。
尝试使用命令 switch --make-default-browser
。
到目前为止,这些都不起作用。
任何帮助,将不胜感激。打开任何批处理文件、注册表项、文件替换/编辑...基本上任何我可以自动化的东西。
browser windows-registry google-chrome command-line windows-10
我有一个安装多个程序的脚本。
我想编写一系列批处理脚本来记录这些安装。
我希望找到一个命令,该命令允许我选择此文本文件并在每次运行时向该文件写入一行。
c:\log\logfile.txt
c:\log\logfile.txt
以便在完成后在日志文件中
flash installed
java installed
chrome installed
so on
Run Code Online (Sandbox Code Playgroud)
等等
但是,我发现了很多用于写入特定行或编辑特定文本字符串的脚本。我没有看到任何用于写入下一个空行的脚本。也许我以错误的方式解决这个问题。