中国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-26 18:35
47,812 topics / 349,912 posts / today 2 new / 48,264 members
其它操作系统综合讨论区 » [Closed] Question about net command usage
Printable Version  1,088 / 10
Floor1 ednykissyou Posted 2006-05-09 01:04
初级用户 Posts 88 Credits 182
Experts, help me!
I need to use a batch file to copy a certain file from more than 100 machines on the LAN. Originally, the passwords on these machines were all the same (123456), so using copy \\192.168.0.102\D$\myfile.txt C:\abc\1 like this, I could copy the file from each machine to my C drive. But now each machine has a different password (I know the password for each machine), so I can't use the old method for batch copying anymore. Please give me some guidance! It would be best if you could give me an example!
Floor2 ednykissyou Posted 2006-05-11 12:56
初级用户 Posts 88 Credits 182
Experts, help me!
I need to use a batch file to copy a certain file from more than 100 machines on the LAN. Originally, the passwords on these machines were all the same (123456), so using copy \\192.168.0.102\D$\myfile.txt C:\abc\1 like this, I could copy the file from each machine to my C drive. But now each machine has a different password (I know the password for each machine), so I can't use the old method for batch copying anymore. Please give me some guidance! It would be best if you could give me an example!
Floor3 electronixtar Posted 2006-05-11 13:02
铂金会员 Posts 2,672 Credits 7,493
Use net use \\192.168.xxx.xxx\ipc$ "password" /user:"username" to establish an ipc connection, then copy, and finally net use * /del
Floor4 ednykissyou Posted 2006-05-11 13:22
初级用户 Posts 88 Credits 182
Much appreciated, thanks!!
Floor5 ednykissyou Posted 2006-05-11 13:47
初级用户 Posts 88 Credits 182
net use \\192.168.0.103\D$\ "123456" /user:"administrator"
copy \\192.168.0.103\D$\1\aa.txt C:\all\03\1
net use * /del

The format above is correct, so why does it still say unknown user or wrong password
Floor6 ednykissyou Posted 2006-05-11 15:10
初级用户 Posts 88 Credits 182
net use \\192.168.0.103\D$\ "123456" /user:"administrator"
copy \\192.168.0.103\D$\1\aa.txt C:\all\03\1
net use * /del

The format above is correct, so why does it still say unknown user or wrong password

[ Last edited by willsort on 2006-5-24 at 01:17 ]
Floor7 JonePeng Posted 2006-05-11 22:47
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
Make sure whether the password of the Administrator user on the other machine (\\192.168.0.103) is 123456
Floor8 electronixtar Posted 2006-05-11 22:51
铂金会员 Posts 2,672 Credits 7,493
XP's authentication method may be different from 2k's. On \\192.168.0.103, run gpedit and set the authentication method to classical; that can solve a lot of trouble
Floor9 ednykissyou Posted 2006-05-12 11:01
初级用户 Posts 88 Credits 182
net use \\192.168.0.103\D$\ "123456" /user:"administrator"
The D$ here should be ipc$
Floor10 electronixtar Posted 2006-05-12 12:21
铂金会员 Posts 2,672 Credits 7,493
The poster above is right, hehe
I forgot about ipc first
Floor11 JonePeng Posted 2006-05-12 16:38
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
I'm not very familiar with how to use net either, looks like I need to review it too...
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023