WinSCPとの連携用Tera Termマクロ。 WinSCPの「オプション」-「環境設定」の「統合 - アプリケーション」-「外部アプリケーション」にある“PuTTYのパス”で "C:\Program Files\TeraTerm\ttpmacro.exe" /V "C:\some\where\winscp.ttl" !@ !U "!P" "!/" というように設定しておくと、「コマンド」-「PuTTYを開く」でTera Termが開くようになります。

格式
Plain text
提交日期
2017-09-20 17:41
Publication Period
Unlimited
  1. ;
  2. ; ttpmacro.exe /V winscp.ttl "!@" "!U" "!P" "!/"
  3. ;
  4. ; !! -> !
  5. ; / -> Remote Path
  6. ; !@ -> Remote Host
  7. ; !U -> Remote User
  8. ; !P -> Remote Passwd
  9. sprintf2 conncmd "%s@%s" params[3] params[2]
  10. connect conncmd
  11. waitregex "."
  12. send "cd " params[5] #13
下载 可打印视图

网址

Embed with JavaScript

Embed with iframe

原始文本