| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 31087 | 2003-03-11 10:15:00 | map network drive automatically | Mr_Jules (3335) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 127348 | 2003-03-11 10:15:00 | I'm looking to copy a specific directory on one computer to another computer (both running Win 98SE) on my home network for back up purposes. I was looking at implementing a solution using a simple batch file with xcopy. I seem to have a problem, however as the network link is not up all the time, and it would appear that I must manually map the shared drive/directory prior to kicking off the batch file (something that I would like to avoid if possible). Thus a couple of questions: 1) Is it necessary to map the drive of the remote machine prior? 2) If it is necessary, can it be done automatically and run from the batch file? 3) Am I missing something blatantly simple which would solve my problem? The remote box has a static IP address if that helps. Any help/advice would be much appreciated. Thanks, Julian |
Mr_Jules (3335) | ||
| 127349 | 2003-03-11 10:29:00 | When you mapped the other PC did you check the box reconnect at logon | mikebartnz (21) | ||
| 127350 | 2003-03-11 10:36:00 | I have done yes, but as I mentioned part of the problem is that often the remote box isn't on when I boot up the local box, and it seems to spend an age trying to re-establish a connection. So this wouldn't be an ideal solution for what I'm after. | Mr_Jules (3335) | ||
| 127351 | 2003-03-11 10:47:00 | I seem to remember that if you crank up Explorer it will make the logon. | mikebartnz (21) | ||
| 127352 | 2003-03-11 19:45:00 | The command you want is: NET USE S: \\computername\sharefolder where s: is the drive letter you want Add this to your batch file and all should be sweet. For help on this go to a DOS prompt and type: NET HELP USE |
CYaBro (73) | ||
| 127353 | 2003-03-12 09:42:00 | Cheers CYaBro, that's exactly what I'm after. | Mr_Jules (3335) | ||
| 1 | |||||