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-26 19:23
中国DOS联盟论坛 » 其它操作系统综合讨论区 » [Closed] Question about net command usage View 1,090 Replies 10
Original Poster Posted 2006-05-09 01:04 ·  中国 云南 昆明 电信
初级用户
★★
Credits 182
Posts 88
Joined 2005-11-29 05:52
20-year member
UID 46146
Status Offline
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!
Floor 2 Posted 2006-05-11 12:56 ·  中国 云南 昆明 电信
初级用户
★★
Credits 182
Posts 88
Joined 2005-11-29 05:52
20-year member
UID 46146
Status Offline
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!
Floor 3 Posted 2006-05-11 13:02 ·  IANA 局域网IP(Private-Use)
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Use net use \\192.168.xxx.xxx\ipc$ "password" /user:"username" to establish an ipc connection, then copy, and finally net use * /del
Floor 4 Posted 2006-05-11 13:22 ·  中国 云南 昆明 电信
初级用户
★★
Credits 182
Posts 88
Joined 2005-11-29 05:52
20-year member
UID 46146
Status Offline
Much appreciated, thanks!!
Floor 5 Posted 2006-05-11 13:47 ·  中国 云南 昆明 电信
初级用户
★★
Credits 182
Posts 88
Joined 2005-11-29 05:52
20-year member
UID 46146
Status Offline
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
Floor 6 Posted 2006-05-11 15:10 ·  中国 云南 昆明 电信
初级用户
★★
Credits 182
Posts 88
Joined 2005-11-29 05:52
20-year member
UID 46146
Status Offline
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 ]
Floor 7 Posted 2006-05-11 22:47 ·  中国 广东 广州 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Make sure whether the password of the Administrator user on the other machine (\\192.168.0.103) is 123456
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 8 Posted 2006-05-11 22:51 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
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
Floor 9 Posted 2006-05-12 11:01 ·  中国 云南 昆明 电信
初级用户
★★
Credits 182
Posts 88
Joined 2005-11-29 05:52
20-year member
UID 46146
Status Offline
net use \\192.168.0.103\D$\ "123456" /user:"administrator"
The D$ here should be ipc$
Floor 10 Posted 2006-05-12 12:21 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
The poster above is right, hehe
I forgot about ipc first
Floor 11 Posted 2006-05-12 16:38 ·  中国 广东 广州 白云区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
I'm not very familiar with how to use net either, looks like I need to review it too...
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Forum Jump: