FileName_A_*FileName_B_*
HourlyFile.txtC:\Program Files (x86)\WinSCPHourlyFile.batHourlyFile.txt
HourlyFile.txt
option batch abort
option confirm off
open sftp..........
get -filemask="FileName_A_*" /outbound/test/* \\sharedrive
get -filemask="FileName_B_*" /outbound/test/* \\sharedrive
del /outbound/test/FileName_A_*
del /outbound/test/FileName_B_*
exit
HourlyFile.bat
winscp.com /script=HourlyFile.txt
pause
/outbound/test/
尝试过的命令
del /outbound/test/FileName_A_*
-del /outbound/test/FileName_A_*
delete /outbound/test/FileName_A_*
delete /outbound/test/FileName_A_20190604_090002
delete /outbound/test/FileName_A_20190604_090002.csv