Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 118 Posts 7 Joined 2004-12-23 00:00 21-year member UID 34863 Gender Male
Status Offline
When writing a batch file, the process is to download a file from FTP and then decompress it to a certain folder. But FTP download takes time. How to delay? Except for PAUSE.
Credits 6,962 Posts 2,753 Joined 2003-04-16 00:00 23-year member UID 1565 Gender Male From 河北保定
Status Offline
The delay doesn't seem to solve the problem of the original poster. How do you know how much delay time is needed? The characteristic of batch processing is that each command is executed in sequence. The next command won't be executed before the previous one finishes. If it's related to a specific command, you can use start /wait to start a certain command (wait for it to finish executing).