Unable to retrieve the root folder.
Description
Environment
blocks
Gliffy Diagrams
Activity

Jens Klingen May 8, 2018 at 5:41 PM
Hi Andrew, if you cannot find the config file in this location, you are probably using the portable (ZIP) version of Greenshot? In that case, the config file should be located in the same directory where the Greenshot.exe file is.
If you can't find it, there's a shortcut (also described on the FAQ page): If you want to have a look at the configuration file or need to change something (be careful!), right-click Greenshot's systray icon, select "About Greenshot" and hit the I key on your keyboard - Greenshot.ini will open in your default text editor. Make sure that you stop Greenshot before modifying the .ini file!

Andrew Lapointe April 23, 2018 at 5:43 PM
Hi Yens,
When I go into that path C:\Users%USERNAME%\AppData\Roaming\Greenshot\ there is no file. I made sure to click that I could see hidden files and folders.

Jens Klingen April 22, 2018 at 6:49 PM
Thanks for reporting this. As far as I can see, this happens when you try to select a storage location from the settings dialog? That's interesting, because we're using Windows' default folder browser dialog, which usually works fine. Are you using Windows 10? Is you file system special in any way? Have you encountered similar issues in other tools? Does this happen always?
As a workaround, you could try setting the output path in Greenshot's config file. The setting is called `outputFilePath`.
Details
Assignee
UnassignedUnassignedReporter
Andrew LapointeAndrew LapointePriority
Minor
Details
Details
Assignee
Reporter

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2018-04-20 15:31:30 -04:00
OS: unknown (x64) 10.0 build 14393 revision 0
GDI object count: 107
User object count: 99
Exception: System.InvalidOperationException
Message: Unable to retrieve the root folder.
Stack:
at System.Windows.Forms.FolderBrowserDialog.RunDialog(IntPtr hWndOwner)
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
at Greenshot.SettingsForm.BrowseClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Configuration dump: