Hi :) 3 logicians went into a bar. The barman asked "do you all want a beer?"
The first says "dunno" so the 2nd says "dunno" too and that means the 3rd is able to say "Yes" because now he knows both the others do too. Being precisely logical can be fun but very confusing to everyone else! I would definitely avoid putting a "cd" command directly into a batch file because it drastically reduces the flexibility and could easily make a very confusing muddle. On the other hand if that is the only folder you ever want it to run in then it might be a good idea. However the way you have done it is better. Paul's point about copying the batch file into a common folder (such as c:/utils errr should that be a \?) and then using Brian's point to add that folder to path thing sounds like the best plan to me. That way you are more likely to be able to find the batch file if you ever need it again. There has been loads of interesting detail in this thread! ~:) Many thanks Paul and Brian, and Joe too. Some i had just forgotten or not really noticed but a lot of it was new. Of course i am on Gnu&Linux now so my command-line is often colour-coded and allows tab-complete so a lot of the command-line stuff is MUCH easier to do without taking much notice of what i'm actually entering. When Win95 came out i didn't trust any of the buttons to do exactly what i wanted and nothing extra so i tended to carry on using my own batch files instead of stuff like copy&paste, plus my batch files seemed to do it faster with less whirring. I think Win95 didn't have a "move" or "drag&drop" so even my simple batch-files gave more functionality. Plus i was already tired of "log off" so i had batch files that responded to being told to "bugger off" or "off". Regards from Tom :) On 11 April 2014 19:41, Paul <[email protected]> wrote: > On Fri, 11 Apr 2014 19:22:15 +0100 > Brian Barker <[email protected]> wrote: > > > At 15:58 11/04/2014 +0200, Paul Steyn wrote: > > >On Thu, 10 Apr 2014 22:18:15 -0500 Joe Bonly wrote: > > >>In sum: Does this mean that my .bat file would have to go into the > > >>same windows directory as my input .htm files, in order to know > > >>which ".htm" files it should use to create the glob? > > > > > >Yes, exactly. > > > > Er, the answer to this - as you had previously explained - is > > actually "No". > > You're right, the answer should have been the same as the one I gave > to the next question: > > > Yes, unless you put "cd" commands in the batch file, or use a shortcut > > to change the working directory. > > Paul > > -- > To unsubscribe e-mail to: [email protected] > Problems? > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette > List archive: http://listarchives.libreoffice.org/global/users/ > All messages sent to this list will be publicly archived and cannot be > deleted > > -- To unsubscribe e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
