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-12 20:30
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » [Help] Networking under pure DOS View 1,819 Replies 4
Original Poster Posted 2007-10-26 14:36 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 8
Posts 3
Joined 2007-10-08 14:22
18-year member
UID 99184
Gender Male
Status Offline
Question about something:

When accessing a shared folder over the network under pure DOS, if the login username and password are empty then you don't need to enter a password, but if that user's password is not empty then every time you log in you have to confirm the username and enter the password, which is very inconvenient. In the Net use help there is a Password option, but after adding that option it says the syntax is incorrect. I'd like to ask the experts how to do it so I don't have to enter the password every time?
Floor 2 Posted 2007-10-26 16:52 ·  中国 福建 宁德 电信
初级用户
★★
Credits 178
Posts 85
Joined 2006-07-06 15:25
20-year member
UID 58125
Status Offline
That can't be done... use net command needed < p.txt,
with DOS redirection you can do it, and what you put in p.txt is your password....
Floor 3 Posted 2007-10-27 11:54 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 8
Posts 3
Joined 2007-10-08 14:22
18-year member
UID 99184
Gender Male
Status Offline
When the batch file runs to net use, it asks you to press Enter to confirm the username, and then it asks you to enter the password. Saving the password in a file and redirecting it doesn't work either
Floor 4 Posted 2007-12-05 18:53 ·  中国 江苏 苏州 联通
初级用户
Credits 22
Posts 11
Joined 2007-10-15 14:37
18-year member
UID 99806
Gender Male
Status Offline
You can do it like this
net logon 用户名 密码 /y /savepw:no
Floor 5 Posted 2007-12-15 19:25 ·  中国 广东 东莞 电信
新手上路
Credits 12
Posts 6
Joined 2007-08-30 18:18
18-year member
UID 96206
Gender Male
Status Offline
Will the reply in post #4 work? I haven't seen that before, give it a try.....
Forum Jump: