system command to copy a file to a path with a space in it
Josh Reader
josh.reader at mercuryelectronics.com
Wed Mar 25 07:36:27 PDT 2015
Thanks to all who replied! Either of the following methods worked
perfectly:
Option 1
-----------
cm = "/bin/cp /reports/state.pdf \"/reports/Josh Reader/josh.pdf\""
system cm
Option 2
----------
system "/bin/cp /reports/state.pdf '/reports/Josh Reader/josh.pdf'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150325/8398bbd0/attachment.html>
More information about the Filepro-list
mailing list