Re "@", that instructables says the same thing, to my reading. SS64 might be a better reference site: http://ss64.com/nt/echo.html. Just ponder this: why do we commonly use "@echo off" instead of "echo off" ?
Re: "\\in\\path" not working on XP for you. Interesting, I've used it on XP myself without troubles many times. I did turn up an unanswered question on Stack Overflow about the same thing with double-double slashes: http://stackoverflow.com/questions/729151/double-backslash-not-work So It looks like the safe thing to do is strip the extra slash, even if it does play havoc with most editor's syntax highlighting of variables. -matt On Sun, May 5, 2013 at 7:16 PM, gatesphere <[email protected]> wrote: > Hi Matt, > > I've responded on the Gist too, but I'll copy what I had here. > > > On 5/5/2013 5:19 PM, Matt Wilkie wrote: > > Do you remember why you needed to use `%%1` in place of `%%*` ? > > The former will only pass the 1st parameter while the 2nd will pass > everything. So when using `%%1` the second and further files or parameters > will be ignored. I didn't come up with a scenario where that is needed or > an improvement, but perhaps I'm missing a use case were it is(?) > > > L32: Good question why I did that... no clue, really. It works, though, > for my purposes. %%* is probably correct, and I will revise this. > > L34-35: Google says otherwise: > http://www.instructables.com/id/Slightly-More-Advanced-Basic-Batch/step2/ECHO-OFFON-Command/ > That being said, I did test this both with and without the > @echo<https://gist.github.com/echo> > off line... and it only worked with the @echo<https://gist.github.com/echo> > off line. At least on my systems (2 win xp, 1 win 7 64). > > L21: It was complaining on my WinXP boxes, but that could be a security > setting. Both of my WinXP boxes are the property of my employer, and they > have some pretty crazy security protocols in place. Not sure if that has > anything to do with it, but my WinXP boxes didn't like the extra slash at > all. > > -->Jake > > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/leo-editor?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
