上等兵
- 注册时间
- 2008-2-20
- 金币
- 40 个
- 威望
- 0 个
- 荣誉
- 0 个
尚未签到
|
谢谢
下面是我的win下得bat文件 下载前修改先拷贝种子到盒子 然后修改bat文件中的种子名 双击完成
@echo off
echo set sh=WScript.CreateObject("WScript.Shell") >telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "open 192.168.1.100" >>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "{ENTER}" >>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "root{ENTER}">>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "airlive{ENTER}">>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "nameserver 192.168.1.1 > /etc/resolv.conf{ENTER}">>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "cd /mnt/USB/USB_C/ct/bin{ENTER}">>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
echo sh.SendKeys "export LD_LIBRARY_PATH=/mnt/USB/USB_C/ct/lib{ENTER}">>telnet_tmp.vbs
echo WScript.Sleep 300 >>telnet_tmp.vbs
#echo sh.SendKeys "./ctorrent /mnt/USB/USB_C/test.torrent -s /mnt/USB/USB_C/download/ -i 192.168.1.100{ENTER}">>telnet_tmp.vbs
echo sh.SendKeys "./ctorrent /mnt/USB/USB_C/test2.torrent -i 192.168.1.100{ENTER}">>telnet_tmp.vbs
start telnet
cscript //nologo telnet_tmp.vbs
del telnet_tmp.vbs |
|