I should have taken notes, but with a particularly set of utilities I was using, I saw varying behavior based on the use of spaces on either side. I saw it as a flaw in the utilty itself, but there was nothing I could do about it except try to mitigate ever encountering the issue again in any circumstance.
>From what I can remember, the issue was not immediately apparant and took some monitoring to pin-point what the cause was. I was very surprised to say the least, because I have been using spacing around the > all my life up until that point. -- ME2 On Tue, Jan 20, 2009 at 7:34 PM, its.mike <[email protected]> wrote: > 2ยข .. if you go: echo hello world > myOutputFile > > the output file will contain "hello world " (since there was a trailing > space after 'world'). Depending on what's using your output file, the > trailing space may be toxic. As far as I can tell, space after the > > doesn't matter. > > -----Original Message----- > From: Ben Scott [mailto:[email protected]] > Sent: Tuesday, January 20, 2009 3:27 pm > To: NT System Admin Issues > Subject: Re: Batch file task > > On Tue, Jan 20, 2009 at 3:41 PM, Micheal Espinola Jr > <[email protected]> wrote: >> Just an fyi, you should try to avoid the practice of having a space >> before and after the > of a redirection. In certain circumstances, it >> can alter or invalidate what you are trying to do. > > Oh, that's just fantastic. Any idea what those circumstances are? > > -- Ben > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
