跳到主要內容

備份並回復Putty的設定

要備份及回復Putty的設定,其實是一件非常簡單的事情。只要使用下面兩個指令就可以了。要備份設定請用:

> regedit.exe /e PuTTY.reg HKEY_CURRENT_USER\Software\SimonTatham

要回復設定,請用:

> regedit.exe /i Putty.reg

其中,Putty.reg就是Putty的設定資訊,您可以將它複製到不同的電腦,再以同樣的回復步驟就可以有一樣的設定了。

留言

匿名表示…
hi
i got your weblog via google
and i found it was useful for me
and i still have some puzzled cases.
can i have you MSN?
and mine is: zzy@hotmail.it
message me pls

best regards
Gary Lee寫道…
I haven't use MSN for a long time. Please write down your question here. I will try to finger it out.

這個網誌中的熱門文章

Portable Python

我常常需要把Python寫的script帶到其他電腦使用,因此,一個免安裝,可攜帶的Python就顯得十分重要。最近看過了幾個可攜式Python的方案,下面這個PortablePython是我覺得最合我意的方案。因為它提供了大部分會用到的Python module及工具,甚至連wxPython及PyGame也有。同時也有好用的Python編輯器PyScripter。所有開發Python所需的開發工具都一應俱全了!把它放到隨身碟中,就不用到處幫人安裝Python了。 PortablePython : http://www.portablepython.com/

一個Python程式可幫檔名加上日期與時間

很多時候,我們希望能夠將檔案或是目錄名稱加上一個時間及日期,以便release。所以,我就寫了一個小小的程式來達到這個目的。我把這個程式貼上來,讓有興趣的人可以拿去使用。 -- #!/usr/bin/env python # -*- coding: ascii -*- """ Usage: cfgfn.py [filename or directory list] """ import sys import os import time import re import glob ro = re.compile(r'(?P<FN> .*)-[0-9]{8}-[0-9]{4}(?P<EXT> .*)') for fnl in sys.argv[1:]: for fn in glob.glob(fnl): mo = ro.match(fn) if mo: pre = mo.group('FN') ext = mo.group('EXT') else: pre, ext = os.path.splitext(fn) newFn = pre + time.strftime('-%Y%m%d-%H%M') + ext os.rename(fn, newFn) print 'Rename %s -> %s' % (fn, newFn)