China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-08-01 10:23
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How can I use a batch file to log in automatically? View 1,782 Replies 0
Original Poster Posted 2003-06-21 00:00 ·  中国 广西 柳州 移动
初级用户
Credits 137
Posts 8
Joined 2003-06-21 00:00
23-year member
UID 5639
Gender Male
Status Offline
I'm a newbie and want to ask all you experts a few questions:

In a batch file, it seems every command has to wait until the previous command is completely finished before it executes?
If I use the FTP command first, then if FTP doesn't end, I can't continue to the next command?

If I want to telnet or ftp to a server and need to enter a password,
can I use one batch file to do it automatically:
enter the telent(ftp) xxx.xxx.xxx.xxx command and enter the username and password,
so as to achieve automatic login?
Forum Jump: