Running directly on command line the batch script works. But when scheduled to run (Windows 2003 R2 server) as the local administrator, I get the following error:
D:\ScadaExport\exported>ping 192.168.10.78
Pinging 192.168.10.78 with 32 bytes of data:
Reply from 192.168.10.78: bytes=32 time=11ms TTL=61
Reply from 192.168.10.78: bytes=32 time=15ms TTL=61
Reply from 192.168.10.78: bytes=32 time=29ms TTL=61
Reply from 192.168.10.78: bytes=32 time=10ms TTL=61
Ping statistics for 192.168.10.78:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 29ms, Average = 16ms
D:\ScadaExport\exported>net use Z: \\192.168.10.78\bar-pccommon\scada\
System error 67 has occurred.
The network name cannot be found.
Any ideas? Google is turning up nothing useful, just keep finding results relating to DNS etc, but using IP address here.