我是小白,那位大侠能帮帮我,我的环境是这样的
学校机房要考试:
比如说:
机器名:A001
IP:192.168.1.1
需要批处理执行批处理命令 执行 \\A253\服务器\A001\Player.exe
机器名:A002
IP:192.168.1.2
需要批处理执行批处理命令 执行 \\A253\服务器\A002\Player.exe
机器名:A002
IP:192.168.1.3
需要批处理执行批处理命令 执行 \\A253\服务器\A003\Player.exe
…
机器名:A198
IP:192.168.1.198
需要批处理执行批处理命令 执行 \\A253\服务器\A198\Player.exe
机器名:A199
IP:192.168.1.199
需要批处理执行批处理命令 执行 \\A253\服务器\A199\Player.exe
机器名:A200
IP:192.168.1.200
需要批处理执行批处理命令 执行 \\A253\服务器\A200\Player.exe
我需要个批处理就是 自动根据获取计算机名或者IP来执行不同文件夹里同个程序的批处理命令,批处理或者VBS都行。
感谢5楼的大侠,已经完美解决我的问题,谢谢大家的无私帮助
[ Last edited by 78586862 on 2010-4-22 at 22:24 ]
学校机房要考试:
比如说:
机器名:A001
IP:192.168.1.1
需要批处理执行批处理命令 执行 \\A253\服务器\A001\Player.exe
机器名:A002
IP:192.168.1.2
需要批处理执行批处理命令 执行 \\A253\服务器\A002\Player.exe
机器名:A002
IP:192.168.1.3
需要批处理执行批处理命令 执行 \\A253\服务器\A003\Player.exe
…
机器名:A198
IP:192.168.1.198
需要批处理执行批处理命令 执行 \\A253\服务器\A198\Player.exe
机器名:A199
IP:192.168.1.199
需要批处理执行批处理命令 执行 \\A253\服务器\A199\Player.exe
机器名:A200
IP:192.168.1.200
需要批处理执行批处理命令 执行 \\A253\服务器\A200\Player.exe
我需要个批处理就是 自动根据获取计算机名或者IP来执行不同文件夹里同个程序的批处理命令,批处理或者VBS都行。
感谢5楼的大侠,已经完美解决我的问题,谢谢大家的无私帮助
[ Last edited by 78586862 on 2010-4-22 at 22:24 ]


