Windows Equivalents for Shell: cp (copy)
Mike Bonner
bonnmike at gmail.com
Tue Jul 12 03:43:44 EDT 2016
or the url method
put url "binfile:path/to/in/file into url "binfile:path/to/out/file"
On Tue, Jul 12, 2016 at 12:42 AM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:
> On 7/11/2016 10:18 PM, Sannyasin Brahmanathaswami wrote:
>
>> RevCopyFile (which works on Windows) doesn't offer the option to copy
>> to a different filename…
>>
>> I suppose I can copy the file and then rename the copy at the new
>> destination, using "rename" which is simple enough.
>>
>
> This works:
>
> put <thePlaceItShouldGo> into tCopyPath
> put the effective filename of this stack into tCurrentPath
> set the filename of this stack to tCopyPath
> save this stack
> set the filename of this stack to tCurrentPath
> save this stack -- reset
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list