![]() |
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 21:27 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS媒体世界 & 网络技术 (多媒体室) » [Help] Networking under pure DOS |
| Printable Version 1,820 / 4 |
| Floor1 bluebloo | Posted 2007-10-26 14:36 |
| 新手上路 Posts 3 Credits 8 | |
|
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? |
|
| Floor2 zqlcch | Posted 2007-10-26 16:52 |
| 初级用户 Posts 85 Credits 178 | |
|
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.... |
|
| Floor3 bluebloo | Posted 2007-10-27 11:54 |
| 新手上路 Posts 3 Credits 8 | |
|
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
|
|
| Floor4 polarisw | Posted 2007-12-05 18:53 |
| 初级用户 Posts 11 Credits 22 | |
|
You can do it like this
net logon 用户名 密码 /y /savepw:no |
|
| Floor5 xie2001012 | Posted 2007-12-15 19:25 |
| 新手上路 Posts 6 Credits 12 | |
|
Will the reply in post #4 work? I haven't seen that before, give it a try.....
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |