本地有 一个EXCEL的文档,是每天更新的,怎么做一个批处理文件 自动更新网站上的内容呢

excel

1个回答

写回答

玲木晴奈

2025-12-13 22:07

+ 关注

word
word

@echo off at|find /i "putit.bat"||at 8:00 /every:M,T,W,Th,F,S,Su d:putit.batftp.txt echo open 111.222.333.444 ftp.txt echo name ftp.txt echo password ftp.txt echo bin ftp.txt echo prompt ftp.txt echo cd serverdir ftp.txt echo pwd ftp.txt echo lcd d:dir ftp.txt echo mput target.xls ftp.txt echo bye ftp -s:ftp.txt del ftp.txt rem rem 星号以上代码自己改下变量测试吧 rem 1、代码另存为:d:putit.bat rem 2、FTP地址:111.222.333.444 rem 3、用户名:name rem 4、密码:password rem 5、服务器目录:serverdir rem 6、本地目录(excel表所在目录):d:dir rem 7、excel表名:target.xls rem 改成你自己的。

举报有用(0分享收藏

Copyright © 2025 IZhiDa.com All Rights Reserved.

知答 版权所有 粤ICP备2023042255号