一楼正解。我的当前程序正在打开此文件,所以出现此错误。现已解决。谢谢。
To 二三楼
Opens the given url in the appropriate Web browser for the user's desktop environment, and returns true if successful; otherwise returns false.
If the URL is a reference to a local file (i.e., the URL scheme is "file") then it will be opened with a suitable application instead of a Web browser.
谢谢两位的关注。