Use a variable in an export path
Josh Reader
josh.reader at mercuryelectronics.com
Mon Apr 20 13:33:32 PDT 2015
Bruce,
That worked! Thank you so much. What is the proper way to reply to these
posts so they are grouped under one? I only received one of these posts
(the one from Dan) in Outlook and when I replied to his email it seemed to
nest it under his original correspondence. For the other ones I sent with
the same subject to filepro-list at lists.celestial.com
Thanks again,
Josh
Josh - after further testing, it seems filepro doesn't need extra quotes
around dir names that have spaces (and errors out when they are
supplied). Internally, filepro might see that part of a path needs
extra quoting for exports and supplies them (internally). So,
regardless of whether your dir names have spaces or not, on both unix
and centos filepro 5.0.14, my tests show that the following works:
fn="/appl/user_exports/users/"{nm{"/filepro/export.txt"
But watch out for:
1. nm should be declared
2. check perms on dirs that filepro need to write to
Bruce
Josh Reader - Systems Analyst
Mercury Electronics
3846 Green Valley Rd.
P.O. Box 248
Seven Valleys, PA 17360
717-428-0222 x228
josh.reader at mercuryelectronics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150420/d2f5e87c/attachment.html>
More information about the Filepro-list
mailing list