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-03 00:22
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Want to write a BAT, not sure whether it can be done. View 876 Replies 1
Original Poster Posted 2006-12-26 13:36 ·  中国 广东 广州 电信
新手上路
Credits 4
Posts 1
Joined 2006-12-25 14:40
19-year member
UID 74537
Gender Male
Status Offline
I want to write a BAT, but I don't know whether it can be done.
Runtime environment: there are three machines on the LAN: BACKROOM; POS01; POS02.

Operating system: BACKROOM: WINDOWS2000
POS01: WINDOWSXP
POS02: WINDOWSXP

Permissions: BACKROOM: username: administrator password: aa
POS01: username: pos password: aa permissions: partially restricted user, can log in and can access, copy, and modify files on the drive.
POS02: username: pos password: aa permissions: partially restricted user, can log in and can access, copy, and modify files on the drive.

IP address: POS01: 192.168.18.1
POS01: 192.168.18.2

Now I need to COPY the file TEST.TXT (d:\test.txt) from BACKROOM to the D drives on POS01 and POS02 (not set as shared); and COPY C:\TEST1.EXT to the C drives on POS01 and POS02 (already set as shared).

It would be best not to use external commands.

I've been thinking about it for a long time and still don't know whether it can be done??
Floor 2 Posted 2006-12-27 07:07 ·  中国 甘肃 甘南藏族自治州 合作市 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Forum Jump: