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-27 03:25
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How to deal with "Network path not found" when remotely shutting down? View 2,955 Replies 4
Original Poster Posted 2007-04-10 10:35 ·  中国 福建 福州 联通
新手上路
Credits 8
Posts 3
Joined 2007-04-07 23:37
19-year member
UID 84315
Gender Male
Status Offline
```batch
echo off

net use * /del /y

net use \\cai\ipc$ "412" /user:"admin"

shutdown -s -m\\192.168.1.103 -t0 -f

exit
```

I want to use this to shut down another machine in the LAN. The first and second commands run successfully, but the third command prompts "The network path was not found". How to solve it?
Floor 2 Posted 2007-04-10 22:51 ·  中国 甘肃 平凉 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Check which users on the remote machine have shutdown permissions, but it should have little to do with this
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
dos2fan +1 2007-04-11 10:07
Floor 3 Posted 2007-04-11 00:16 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
Is the IP address corresponding to cai: 192.168.1.103?

When executing this command, the username and password must be correct, and the permission to enable remote shutdown must be turned on.

net use \\192.168.1.103\ipc$ "412" /u:administrator
shutdown -s -f -t 0 -m \\192.168.1.103
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
dos2fan +1 2007-04-11 10:08
546474 +1 2007-04-17 06:58
Floor 4 Posted 2007-04-11 10:28 ·  中国 福建 福州 联通
新手上路
Credits 8
Posts 3
Joined 2007-04-07 23:37
19-year member
UID 84315
Gender Male
Status Offline
Originally posted by htysm at 2007-4-10 11:16 AM:
Is the IP address corresponding to cai: 192.168.1.103?

When executing this command, the username and password must be correct, and the permission to enable remote shutdown must be turned on.

net use \\192.168.1.103\ipc$ "412&quo ...



It works. Thanks htysm! :)
Floor 5 Posted 2007-04-11 10:47 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
LZ, this post of yours should be posted in the DOS Batch Processing Room.
Forum Jump: