system command to copy a file to a path with a space in it

Josh Reader josh.reader at mercuryelectronics.com
Tue Mar 24 10:27:41 PDT 2015


Hi All,



I am on filePro 5.6 running on CentOS 5.6 and am having a problem trying to
get a PDF file that is being generated by a button press in filePro copied
to a location that has a space in the path.     Here is a simplified test
path I am using and it will not work.  I am able to copy to paths that do
not have a space in them.  I tried using \" a couple of different ways and
that didn't work either.



system "/bin/cp /reports/state.pdf /reports/Josh Reader/josh.pdf"



Thanks,



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/20150324/d6172ff5/attachment.html>


More information about the Filepro-list mailing list