Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,091 of 42,547    |
|    netmail@elmospa.com to All    |
|    Re: First line of batch file keeps loopi    |
|    02 Feb 15 02:42:33    |
      Il giorno giovedì 14 gennaio 2010 14:57:39 UTC+1, Ted Davis ha scritto:       > On Thu, 14 Jan 2010 05:26:16 -0800, no_spam_paquette@uwo.ca wrote:       >        > > Yesterday I was helping our daughter by remote assistance with some       > > networking problems and, having finally resolve the networking problems,       > > by created a batch file to set up drive mapping on her new Windows 7       > > machine.       > >        > > To my astonishment (I've use batch files for years and never seen anything       > > like this!) the first line of the batch file goes into an infinite loop       > > without executing in the batch file goes no further. Each individual line       > > of the batch file works fine from a command prompt. To my even greater       > > astonishment, our daughter's old XP machine does exactly the same thing       > > with batch files.       > >        > > I must confess to being completely mystified by this behavior. Can anyone       > > explain what is going on - and how to fix it?       >        > It is almost essential to know what looping line is, but the most common       > fault is invoking a program that has the same base name as the batch file,       > i.e., a batch file named notepad.bat containing the command "notepad" will       > make a mess for sure if it is run from the directory containing the batch       > file.       >        > --        > T.E.D. (tdavis@mst.edu)              thankssssssssssss!!       I called the file net.bat !!               thank you very much       I was going crazy              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca