使用app标志从命令行打开chrome中的HTML

时间:2017-05-28 23:08:54

标签: bash google-chrome

(Before downvote im aware how to do this using code thats inline to this command but not how to do it using a file that uses the --app="data:text/html,<sometags></sometags>)

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

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

缺乏了解

我试过

C:\'Program Files (x86)'\Google\Chrome\Application\chrome.exe --profile-directory="Default" --app="mar.html"

C:\'Program Files (x86)'\Google\Chrome\Application\chrome.exe --profile-directory="Default" --app="file:///mar.html"

两个都不工作。

给我错误

Your file was not found It may have been moved or deleted. ERR_FILE_NOT_FOUND

0 个答案:

没有答案