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/>  ~

Reply via email to