![]() |
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-02 23:26 |
48,038 topics / 350,123 posts / today 1 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » Want to write a BAT, not sure whether it can be done. |
| Printable Version 875 / 1 |
| Floor1 skyaj | Posted 2006-12-26 13:36 |
| 新手上路 Posts 1 Credits 4 | |
|
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?? |
|
| Floor2 vkill | Posted 2006-12-27 07:07 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |