Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Session file location? #283

Open
patricktokeeffe opened this issue Jun 14, 2018 · 3 comments
Open

Session file location? #283

patricktokeeffe opened this issue Jun 14, 2018 · 3 comments

Comments

@patricktokeeffe
Copy link

According to these upstream docs session files are created inside the same directory as the executable. Discussion in these issues (#49, #112, #127) support that claim.

My executable lives at C:\Program Files\putty_0.67-t029.exe and it correctly stores sessions to files..
2018_06_14_12_52_15_putty_configuration

..but it does not create a session file (or any files) in the same directory as my executable.
2018_06_14_12_57_00_program_files

Clearly, it's saving the session file somewhere. Where is it?

@incognico
Copy link

It will create a folder "sessions" in the same folder as the exe. As you have putty in a Windows permission restricted folder (C:\Program Files or C:\Program Files (x86)) it is just not able to write there.

@patricktokeeffe
Copy link
Author

Will it use a temporary location if the current directory isn't writeable?

Even though my .exe in C:\Program Files\ I'm able to save and load sessions from file.. I just can't find the session file itself.

@joshpj
Copy link

joshpj commented Jun 29, 2018

Check C:\Users\(username)\AppData\Local\VirtualStore\...

The behavior you're seeing is probably a result of Windows's UAC filesystem virtualization (see https://technet.microsoft.com/en-us/library/2007.06.uac.aspx).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants