Sharex: 不适用于 Windows 10。

创建于 2015-07-31  ·  4评论  ·  资料来源: ShareX/ShareX

嗨,我刚刚将我的电脑升级到 Windows 10(内部版本 10240),我注意到 ShareX 显然不再适合我了。

截屏时收到错误信息,截屏保存失败。
这是它的错误信息。

Could not create directory, check your path settings.

System.UnauthorizedAccessException: Access to the path 'C:\Users\User\Documents\ShareX\Screenshots\2015-08' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at ShareX.HelpersLib.Helpers.CreateDirectoryIfNotExist(String path, Boolean isFilePath)

这是我退出应用程序时收到的错误消息。

System.UnauthorizedAccessException: Access to the path 'C:\Users\User\Documents\ShareX\Logs\ShareX-Log-2015-08.txt' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at System.IO.File.InternalAppendAllText(String path, String contents, Encoding encoding)
   at ShareX.HelpersLib.Logger.SaveLog(String filepath)
   at ShareX.Program.Main(String[] args)
Invalid

所有4条评论

ShareX 在 Windows 10 下工作,我们使用 W10 很长时间。 您的 Windows 不允许 ShareX 访问“C:\Users\User\Documents\ShareX\Screenshots\2015-08”这个文件夹,因此 ShareX 对此无能为力。 所以它是关于你的 Windows 配置而不是 ShareX 方面的错误。

如果您自己还没有找到,请检查 #884 以获取解决方案。

ShareX 在 Windows 10 下工作,我们使用 W10 很长时间。 您的 Windows 不允许 ShareX 访问“C:\Users\User\Documents\ShareX\Screenshots\2015-08”这个文件夹,因此 ShareX 对此无能为力。 所以它是关于你的 Windows 配置而不是 ShareX 方面的错误。

对。 它可以编译并在您的桌面上运行,那么有什么问题呢? /smh

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

BristolITDave picture BristolITDave  ·  3评论

davewilton picture davewilton  ·  3评论

hikapoo picture hikapoo  ·  4评论

WebFreak001 picture WebFreak001  ·  3评论

hiltronrex picture hiltronrex  ·  3评论