lhmouse / nano-win

GNU nano text editor for Windows [WARNING: The master branch is constantly rebased and force-pushed so don't expect it to be steady!! -end WARNING]
https://files.lhmouse.com/nano-win/
GNU General Public License v3.0
210 stars 25 forks source link

FAQ: Where is the "positionlog" file located? #37

Closed eabase closed 2 years ago

eabase commented 2 years ago

Would be great to know where the file cursor position file is located as enabled by the set positionlog flag.

Also, what is the following location doing?

-o <dir> --operatingdir=<dir> Set operating directory

eabase commented 2 years ago

Ok,, I found them

  1. When using running as Admin it's placed under C:\ProgramData in:
    C:\ProgramData\.local\share\nano\filepos_history
  2. When as non-priv regular user, it's in: C:\Users\<username>\.local\share\nano\filepos_history

This is also confusing as it sometimes seem that the location is forgotten, when you're not fully aware as running privileged.

eabase commented 2 years ago

A workaround could be to symlink the Administrator created file to the Users file, but then all permissions have to be allowed.

eabase commented 2 years ago

Solved by symbolic link, see #36

garoto commented 2 years ago

All your "issue bumping" is highly annoying. Just pick a topic and stick to it till you get closure.