cmd ftp 模糊读取文件

cmd ftp 模糊读取文件

@echo off
echo open 10.76.1.77 77>> ftpscript.txt
echo tzys >> ftpscript.txt
echo tzys >> ftpscript.txt
set wind=%date:~0,4%%date:~5,2%%date:~8,2%
echo dir %wind% >> ftpscript.txt
echo prompt off >> ftpscript.txt
echo mget %wind%*.txt >> ftpscript.txt
echo bye >> ftpscript.txt

ftp -s:ftpscript.txt

del ftpscript.txt

你可能感兴趣的:(cmd ftp 模糊读取文件)