users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy_file?


From: Daniel Diaz
Subject: Re: copy_file?
Date: Mon, 19 Nov 2012 09:40:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

Le 17/11/2012 16:14, mcculloch a écrit :
In GNU Prolog there are built-ins for deleting files and directories, making
directories and other file operations, but no copy_file.  Am I missing
something?  Do I have to either write my own byte for byte copy or shell to
a cp command?
You are right, there is no predicate to copy a file. The easiest and fastest solution is to invoke the shell copy command.

Daniel

--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]