Skip to content

Instantly share code, notes, and snippets.

@lsauer
Created August 22, 2013 08:13
Show Gist options
  • Save lsauer/6304458 to your computer and use it in GitHub Desktop.
Save lsauer/6304458 to your computer and use it in GitHub Desktop.

Revisions

  1. lsauer created this gist Aug 22, 2013.
    17 changes: 17 additions & 0 deletions putty_config_export.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    ECHO off
    REM PuTTY is an SSH and telnet client, developed originally by Simon Tatham
    REM setup
    SET defaultpath="C:\putty_config.reg"

    ECHO "USAGE: %0 <filepath for .reg|default=%defaultpath%>"

    IF %1.==. (
    ECHO Missing path argument; using %defaultpath%
    ) else (
    SET defaultpath=%1
    )

    :Finished
    ECHO Exported to: %defaultpath%
    regedit /E %defaultpath% HKEY_CURRENT_USER\Software\SimonTatham
    ECHO Finished. Open the file now on a Windows-PC with your Putty Installation.