Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bash 使用应用程序标志从命令行在chrome中打开HTML_Bash_Google Chrome - Fatal编程技术网

Bash 使用应用程序标志从命令行在chrome中打开HTML

Bash 使用应用程序标志从命令行在chrome中打开HTML,bash,google-chrome,Bash,Google Chrome,如何使用此命令打开本地html(mar.html)文件 C:\'ProgramFiles(x86)\\Google\Chrome\Application\Chrome.exe--profile directory=“Default”--app= 具体来说,问题是我对--app标志不熟悉 我试过了 C:\'ProgramFiles(x86)\\Google\Chrome\Application\Chrome.exe--profile directory=“Default”--app=“mar.ht

如何使用此命令打开本地html(mar.html)文件
C:\'ProgramFiles(x86)\\Google\Chrome\Application\Chrome.exe--profile directory=“Default”--app=

具体来说,问题是我对--app标志不熟悉

我试过了

C:\'ProgramFiles(x86)\\Google\Chrome\Application\Chrome.exe--profile directory=“Default”--app=“mar.html”

C:\'ProgramFiles(x86)\\Google\Chrome\Application\Chrome.exe--profile directory=“Default”--app=“file:///mar.html“

两者都不起作用

告诉我错误

找不到您的文件
它可能已被移动或删除。

ERR_FILE_NOT_FOUND

看,这可以帮助你。我试过了,但没有帮助。@AndersonScoutodaSilva它根本没有提到如何使用本地html文件打开它,但只使用URL。这可以帮助你。我试过了,但没有帮助。@AndersonScoutodaSilva它根本没有提到如何使用本地html文件打开它,但只使用URL打开它