Portability


Instead of using environment variable for USB using for example, you can use lua script to set ExtraPuTTY behavior

By default, ExtrapuTTY uses directories structure to save its configuration (sessions, host keys, parameters) to avoid writing anything into the registry. It's possible to go back and save it in the Windows registry database.

To do that you just have to create/or set environment variable ExtraPuTTY_MODE :
ExtraPuTTY_MODE=DIR_MODE for File storage (default mode) 
ExtraPuTTY_MODE=REG_MODE for Window registry database storage
      

By default, ExtrapuTTY uses current directory of putty to save its configuration (sessions, host keys, parameters), it's possible to set this path to the user profile or other path.

To do that you just have to create and set environment variable ExtraPuTTY_USERPROFILE :
ExtraPuTTY_USERPROFILE=0 current directory (default mode) 
ExtraPuTTY_USERPROFILE=1 user profile (%USERPROFILE%)
ExtraPuTTY_USERPROFILE= <PATH>

Note : During installation the MessageBox "Putty configuration ( sessions, host keys ...) 
available for all users ?" is displayed to set ExtraPuTTY_USERPROFILE.
For winXP,  YES == 0, NO == 1
for win > XP, YES == %PUBLIC%\\ExtraPuTTY  , NO == %LOCALAPPDATA%\\ExtraPuTTY
      

It's possible to copy all the configuration from the registry for users who already created sessions with PuTTY or from directories to registry. You just have to run the software on the command line with the parameter:

putty.exe -sessions-reg-to-file(*) 
OR
putty.exe -sessions-file-to-reg(*)
      

(*): Description of command-line options.

At the end of ExtraPuTTY installation all the configuration from the registry is copied into the directories
with -sessions-reg-to-file command-line option.

storage_

< Back