我有一个程序,我希望在 Windows 10 中使用 Microsoft Edge 进行测试。对于 Chrome,我使用以下 bat 文件:
start chrome http://localhost:8080/awardtracker_n
@set JAVA_HOME=c:\Java\jdk1.8.0_05
@set CATALINA_HOME=c:\Tomcat
@echo Using JAVA_HOME: %JAVA_HOME%
@echo Using CATALINA_HOME: %CATALINA_HOME%
@echo Listing Tomcat folder ..
@dir %CATALINA_HOME%
@echo Listing Tomcat bin folder ..
@dir %CATALINA_HOME%\bin@echo Listing batch file ...
@dir %CATALINA_HOME%\bin\catalina
@echo Executing batch file ...
CALL %CATALINA_HOME%\bin\catalina run
pause
我找到了一个建议,将 chrome 替换为:
explorer.exe 外壳:AppsFolder\Microsoft.Windows.Spartan_cw5n1h2txyewy!Microsoft.Spartan.Spartan
然而,这并没有奏效。请问有人有答案吗?
问候,
格林