Re: Only the first line of the batch files executes, then ALL pcs cras

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Running a batch file with more than 1 line isn't a problem. What is the
program you're running doing that it causes these crashes? Have you run
your commands manually on an XP machine? Do they work correctly? Is the
second line dependent on completion of the first? If so your command should
be >start /w run.exe -p par1.txt so the second launches after the first
completes.
--

"Sam" <Sam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A4E69137-FD48-469E-BB3B-E05E6436698A@xxxxxxxxxxxxxxxx
> Hello,
>
> I got permission to run my code on all 60 machines in a lab over the
> weekend.
>
> I log into all 60 machines. I run a .bat file with several lines in it
> [i.e.
> run.exe -p par1.txt
> run.exe -p part2.txt
> etc]
>
> I run it on only one machine. When it stops executing the first line of
> the
> bat file, the pc crashes, and ALL machines crash, and restart in
> "maintenance
> mode" with the keyboard and mouse disabled.
>
> Would you have any ideas about how I can ensure that only one pc crashes
> [and doesn't drag all others with it]?
>
> Would you have any ideas about the reason I can't execute a bat file with
> more than one line in it? [If not - what would be a good group to ask
> about
> this issue?]
> I used to run this code [using bat files with multiple lines in it] on
> Windows 2000, and everything worked...
>
> Thank you for your help!!


.



Relevant Pages

  • Only the first line of the batch files executes, then ALL pcs cras
    ... I got permission to run my code on all 60 machines in a lab over the ... When it stops executing the first line of the ... bat file, the pc crashes, and ALL machines crash, and restart in "maintenance ... Would you have any ideas about how I can ensure that only one pc crashes ...
    (microsoft.public.windowsxp.network_web)
  • Re: BAT file to retrieve Registry Setting
    ... workstations are the infamous Windows 95 with a few Windows 98s. ... I am not sure if these machines have reg.exe on them. ... I plan to setup a BAT file accessible on the network for each person to run ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Windows XP Hardware crashes
    ... >>I have 3 machines more or less identical hardware. ... One crashes a lot ... When it does Windows puts up a message at ... The fault turned out to be a faulty stick of RAM. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Cycling not related to global warming
    ... Every week we see OS crashes ... I have my own boot/install CD to setup my machines. ... But me hacking around trying to get cd drivers and network ... drivers loaded never once caused a crash. ...
    (uk.rec.cycling)
  • Re: Linksys Router & ZoneAlarm
    ... I have had NO crashes or lockups whatsoever. ... crashed on Win2K machines that I finally realized what was going on. ... So where is there a difference of opinion? ... ZA is an unmitigater disaster - plain and simple. ...
    (comp.security.firewalls)