Use a variable in an export path
Josh Reader
josh.reader at outlook.com
Mon Apr 20 07:22:49 PDT 2015
Hi All,
I have an export where I'm setting the export path. Currently I am
hard-coding the path for each user that needs to access the export so it
goes to their user folder on our windows server. filePro is installed on
CentOS 6.2. I can get the name of each user using a variable in filePro but
I don't know how to insert the variable into the path. Below is a sample of
how I've tried it but it's not working. nm is the variable that holds the
user's full name and fn is the variable being used for the file name.
fn="/appl/user_exports/users/'nm'/filepro/export.txt"
openit subroutine:
export ascii file=(fn) r=\n f=|
Thanks,
Josh Reader - Systems Analyst
Mercury Electronics
3846 Green Valley Rd.
P.O. Box 248
Seven Valleys, PA 17360
717-428-0222 x228
<mailto:josh.reader at mercuryelectronics.com>
josh.reader at mercuryelectronics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150420/86ea0986/attachment.html>
More information about the Filepro-list
mailing list