|
Answer» Hello. I have a BATCH file witch maps two (linux ubuntu) network drives and then sync's time with the linux ubuntu server.
The problem is that after I'v startet using wireless network the batch file is run befor the network has started. The network starts after Windows ME login and the batch file is started at login.
As I SAID (my server is Linux Ubuntu) and the klient i Windows ME. What can I do to solve this ?You can add a delay at the top of your batch file. A simple way to create a delay is using the PING COMMAND which waits 1 second between ping attempts. So for a delay of 10 seconds, try something LIKE this:
Code: [Select]echo off ping -n 11 localhost net use X: \\ubuntu\share1 net use y: \\ubuntu\share2 net time /set \\ubuntu You can change the number in the PING command for more delay or less delay.
|