At 05:47 2014-04-28, Man-wai Chang <[email protected]> wrote:
You can't add environment variables into a sub-shell, I believe.

Your belief is incorrect. My debugging code in the batch file included echoing the environment variable value that I had set, and up to the point of failure, they were set.

I might have run into some limit on how much environment space I can use, and I was hoping someone could tell me if this is the case and what to do about it.

What if you use a text file instead to store and pass parameters?

I do not know how to extract the parameters in the batch file. How would one do this?

I decided to reorder the parameters, because I found that I have to have multiple parameters for multiple attachments. With that, I can no longer simply check the number of parameters.

Another trick is to programmatically generate the whole batch file
with parameters stored, then execute it.

     I suppose so, but I prefer not to do that.  It would be a pain to debug.

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to