Développer et télécharger des logiciels Open Source

Browse Subversion Repository

Contents of /trunk/installer/release/winscp.ttl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7033 - (show annotations) (download)
Fri Feb 2 12:40:49 2018 UTC (6 years, 3 months ago) by doda
File size: 262 byte(s)
WinSCP 連携用サンプルマクロを追加。

WinSCPの環境設定にある、「統合」-「アプリケーション」の「PuTTYのパス」で

"C:\Program Files\TeraTerm\ttpmacro.exe" /V "C:\Program Files\TeraTerm\winscp.ttl"  !@ !U "!P" "!/"

のように設定すると、PuTTY を起動する機能で Tera Term が起動するようになる。
1 ;
2 ; ttpmacro.exe winscp.ttl "!@" "!U" "!P" "!/"
3 ;
4 ; !! -> !
5 ; !/ -> Remote Path
6 ; !@ -> Remote Host
7 ; !U -> Remote User
8 ; !P -> Remote Passwd
9
10 sprintf2 conncmd "%s@%s" params[3] params[2]
11
12 connect conncmd
13
14 waitregex "."
15
16 send "cd " params[5] #13

Properties

Name Value
svn:executable *

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26