Sharex: Illegal characters in path.

Created on 10 Mar 2017  路  3Comments  路  Source: ShareX/ShareX

``System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.IsPathRooted(String path)
at ShareX.HelpersLib.Helpers.GetAbsolutePath(String path)
at ShareX.ApplicationSettingsForm.UpdatePersonalFolderPathPreview()
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

ShareX 11.6 (Release)``

Bug

Most helpful comment

What is that path?

All 3 comments

What is that path?

I've got the same , the path is that point to where I like screen shots saved @Jaex

Pasted this one in "C:\Users\ngjoh\OneDrive - Nets\Root\ScreenShots"

This is what ended into C:\Users\ngjoh\Documents\ShareX\ApplicationConfig.json

"CustomScreenshotsPath": "\"C:\Users\ngjoh\OneDrive - Nets\Root\ScreenShots\"",

Removing the leading and trailing " from what got pasted in solved the problem

"CustomScreenshotsPath": "C:\Users\ngjoh\OneDrive - Nets\Root\ScreenShots",

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings