Keep temporary directories together in separate directory

Advertisement

TravisCarden
Joined:
Posts:
4
Location:
United States

Keep temporary directories together in separate directory

I use CCleaner to keep my machine clean and well-optimized, and one of the things it does is clear out my temporary directories. When it does so, it breaks any open WinSCP sessions because they store state data in sub-folders of the temp directory. CCleaner allows you to exclude directories, but not patterns, so since WinSCP temporary directories are interspersed with the rest of the contents of the temp directory at the top level, I can't exclude it. I propose putting all of WinSCP's temporary directories together under one devoted parent directory. So, for example, rather than something like this:

C:\Users\My-Username\AppData\Local\Temp\scp11111\

Reply with quote

Advertisement

TravisCarden
Joined:
Posts:
4
Location:
United States

More

Oops. I submitted instead of previewing. As I was saying, instead of something like this:

C:\Users\My-Username\AppData\Local\Temp\
C:\Users\My-Username\AppData\Local\Temp\scp11111\
C:\Users\My-Username\AppData\Local\Temp\scp22222\
C:\Users\My-Username\AppData\Local\Temp\scp33333\    

...you would have something like this:

C:\Users\My-Username\AppData\Local\Temp\WinSCP\
C:\Users\My-Username\AppData\Local\Temp\WinSCP\scp11111
C:\Users\My-Username\AppData\Local\Temp\WinSCP\scp22222
C:\Users\My-Username\AppData\Local\Temp\WinSCP\scp33333    

This would solve my problem above, giving me a single, constant directory to exclude from CCleaner. I should think it would also keep the temp directory better organized (if that matters to anybody).

Reply with quote

Advertisement

You can post new topics in this forum