Re: Copy a file accross a LAN during startup



I think you are correct in describing the problem. I have 2 questions.

1. For the solution, is there an advantage to using sleep.exe rather than
the ping command the others have suggested?

2. Is it possible for the program to avoid putting on the screen the black
dos window until the drive mapping is ready for the copy command to proceed,
or for the dos window to not be displayed at all?

3. The documentation for sleep.exe says it puts your computer to sleep for
a designated number of seconds. Is the computer able to accomplish all its
other duties (loading other programs etc) while it is asleep in this
program?

Thank you.



"megascout29" <megascout29@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F6D3908A-5CAB-4871-8D1C-DD010E8BF59B@xxxxxxxxxxxxxxxx
> It sounds like the batch file is trying to do its thing before the remote
> drive is even mapped. I would download sleep.exe and have your batch file
> call it before it does anything else, maybe specify sleep.exe to sleep for
> like 180 seconds or something, that way you are giving your computer time
> to
> map all the drives and everything before the rest of the batch files runs.
>
> "Bob S" wrote:
>
>> I use XP Pro on a Home LAN (4 computers) and have a particular file that
>> I
>> want copied from the shared folder of my computer to my wife's computer
>> upon
>> startup of her computer each day. So, I have written a one line bat file
>> to
>> do this and put it in the startup folder of her computer. Unfortunately,
>> when her computer boots up, the black window for the command prompt pops
>> up
>> for a second but the file does not get copied. On the other hand, if I
>> double-click the actual bat-file (from Windows Explorer) it does copy the
>> file across the LAN.
>>
>> Is there something about the startup process (and programs put there)
>> that
>> prohibits the copying of a file across a LAN?
>>
>> Is there a way to get this done?
>>
>> Thank you for your help.
>> Bob
>>
>>
>>


.



Relevant Pages

  • RE: Copy a file accross a LAN during startup
    ... It sounds like the batch file is trying to do its thing before the remote ... map all the drives and everything before the rest of the batch files runs. ... > I use XP Pro on a Home LAN and have a particular file that I ... > do this and put it in the startup folder of her computer. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: xcopy stops working in batch file when I connect to machine using remote desktop connection
    ... The batch file runs, but the xcopy commands ... some reason the "path" changed after RDC. ... I RDC my desktop from another PC and then disconnect from my pc, ... Do not use mapped drives for background jobs. ...
    (microsoft.public.windowsxp.general)
  • Re: xcopy stops working in batch file when I connect to machine using remote desktop connection
    ... The batch file runs, but the xcopy commands ... some reason the "path" changed after RDC. ... I RDC my desktop from another PC and then disconnect from my pc, ... Do not use mapped drives for background jobs. ...
    (microsoft.public.windowsxp.general)
  • Re: Sysprep and Boot.ini
    ... First thing I'd be saying to vendor is "that's pretty piss-poor, hope you guys are planning on getting your act together". ... Guessing the big prob for you is that it needs to be done prior to the first real bootup as otherwise you're going to hit that menu. ... Have a look around for info on using commandlines.txt, it basically does its thing during the mini-setup so you could have a batch file that copies a replacement boot.ini over at that time, before any real bootup happens, and that should resolve the problem. ... A piece of software causes Windows to startup every time with a "windows did not startup properly" screen. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: opening sound corrupted?
    ... out on the keyboard: ... to many laptop manufacturers put in VERY slow drives. ... Since you are mainly interested in what loads at startup, ... Unchecking it will also remove one more thing ...
    (microsoft.public.windowsxp.general)