Use a variable in an export path
Bruce Easton
bruce at stn.com
Mon Apr 20 13:42:52 PDT 2015
You're welcome, Josh.
Your latest replies look OK here, but I had just noticed some of the
earlier ones look like original posts when they were replies. Although,
maybe Thunderbird is playing tricks here. When I reply, I always hit
reply and then replace the to address with a copy of the one for the forum.
I learned something today from this issue about export pathing. For
other things -system commands I think you may need to include quotes
around dirs/files that have spaces in them, so this was a bit of a surprise.
Bruce
On 4/20/15 4:33 PM, Josh Reader wrote:
> 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>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list