How to export PUTTY Sessions list

http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list

You can export it simply by:
regedit /e “%userprofile%\desktop\putty-sessions.reg” HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
Or:
regedit /e “%userprofile%\desktop\putty.reg” HKEY_CURRENT_USER\Software\SimonTatham
For exporting all settings.
Note: do not try and replace SimonTatham with your username.
regedit /e will simply export all settings to the file putty-sessions.reg (or putty.reg) on Desktop.

The answer posted by @m0nhawk doesn’t seem to work as I test on a Windows 7 machine. Instead, using the following scripts would export/import the settings of putty:

::export
@echo off
set regfile=putty.reg
pushd %~dp0

reg export HKCU\Software\SimonTatham %regfile% /y

popd

::import
@echo off
pushd %~dp0
set regfile=putty.reg

if exist %regfile% reg import %regfile%

popd

  • Launch Run, then type in the Open drop down window: regedit
  • Navigate to, just like in Window’s Explorer:
    HKEY_CURRENT_USER\Software\SimonTatham
    Right click on ‘SimonTatham’ key (directory icon), select Export
    Give the file a name (say) putty.reg and save it to your location for
    later use.
    Close Registry Editor.
  • Done.

    About: dato


    发表评论

    邮箱地址不会被公开。 必填项已用*标注