中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 11:47
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » FTP-related BAT
Printable Version  833 / 1
Floor1 dabria Posted 2010-04-14 16:30
新手上路 Posts 2 Credits 3
How can I download a RAR from a specific folder on an FTP server, and then extract it locally? The RAR filename includes a version number. How can I get the version number.... Asking for advice.
Floor2 exzzz Posted 2010-04-15 10:41
初级用户 Posts 167 Credits 194
http://www.cn-dos.net/forum/viewthread.php?tid=50791&fpage=1
Look at this thread, it explains methods for downloading via ftp. The RAR filename should preferably use a fixed format, with only the version number differing in the filename. Only then can it be sorted by date (that way assigning the version number variable becomes very simple).

As for extracting rar archives, the command in command-line mode is just rar. Open WinRAR's command manual and you'll see. Extracting it and then executing it is very easy to do.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023