Windows Equivalents for Shell: cp (copy)

J. Landman Gay jacque at hyperactivesw.com
Tue Jul 12 02:42:42 EDT 2016


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





More information about the use-livecode mailing list