Sharex: Can't move set the paths of ShareX personal folder.

Created on 22 Jul 2018  路  14Comments  路  Source: ShareX/ShareX

At first, I set a folder in One Drive as my local Document folder.
And it does set there, as you can see in following picture:
image
And then, I wanna change it to another folder, such as "C:\Program Files (x86)\ShareX", however,after I restart ShareX as it asked,it change back to the folder before, the change doesn't work.:(
I used to reinstall it many times, but it never changed.
can you give me some advice? Thank you.

Stale

Most helpful comment

Cut PersonalPath.cfg and paste to that folder.

All 14 comments

You can't use program files folder without ShareX running as admin. So you must not put personal folder inside program files.

@Jaex ok锛孖 think i know what's wrong with my ShareX.
when I set the path C:\Users\Username\Documents\ShareX, it obviously shown as %Documents%\ShareX, however,the default Documents path is C:\Users\Username\OneDrive\Documents\ShareX.
This may be the reason?


But C:\Users\Username\OneDrive\Documents\ShareX have a file which named as PersonalPath.cfg, I don't know why.

@OldFanta has this issue been resolved?

Could you provide screenshots of where these paths are set?

2018-07-27_11-55-15

Why does setting the personal folder to another folder like
"P:/ShareX/Data"
leave a file called PersonalPath.cfg in Documents/ShareX/
that if removed or renamed resets the configuration to Documents/ShareX/ (Thus it thinks it's my first opening of the programm)?
personalPath.cfg with contents in documents
I think this personalpath should not be saved in Documents/ShareX since the entire point of setting it for me was to not have a shareX folder in Documents.

Paths

Because it needs to store path somewhere otherwise how it can know. I initially stored it in userdata folder but Windows Store build unable to read it from there, therefore as last resort I needed to store it in Documents folder. You can also store PersonalPath.cfg near ShareX.exe too.

How do I store it in the installation folder?
Edit1: (or is that not possible and you were just saying it as a possiblity of coding)

If this is hard to change or implement (it might break a lot actually now that I think about it)
I guess it's fine to leave it like that, just a little bit annoying to be unable to delete that file there (makes the personal path option seem a bit odd to me)
Edit2: Ignore my speculations up there

Cut PersonalPath.cfg and paste to that folder.

Well that was an extremely simple solution, thank you very much for telling me that

I'm still getting the dang folder in my Documents.

Seems like all of this should go into my user folder where most apps store their settings.

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

Cutting PersonalPath.cfg and pasting in the destination personal folder does not prevent ShareX from forgetting the path on the next boot and remaking its application folder in the middle of _my personal documents_.

Having it default to making a folder in my documents without offering me the option to put it elsewhere is already ridiculous, but not being able to fix this after-the-fact is too much. Why is this data not stored in %appdata%? This is incredibly lazy design and needs to be fixed.

Lovely application otherwise. Thanks for maintaining it.

@nepphhh What Jaex means is that you need to copy PersonalPath.cfg to wherever you installed ShareX (normally C:\Program Files\ShareX)

However, I agree with you on the other points. Why is there no option to store things in other places in the UI like this? If you can't get the Microsoft Store version to access the user data folder, where else can you put it? Why is there little to no documentation on these things?

It may sound like I'm hating on ShareX, but I'm not. Even though there are some downsides like these, when you know how to use it, ShareX is an amazing program (despite the fact that I only discovered this today!)

@Jaex as far as I'm aware there's no documentation for ShareX. Maybe consider creating some?

This issue has been closed since Jul 24, 2019.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nickodemos picture nickodemos  路  3Comments

davewilton picture davewilton  路  3Comments

monirulalom picture monirulalom  路  3Comments

wilandlane picture wilandlane  路  3Comments

Not-Kris picture Not-Kris  路  3Comments