Using Shell to copy files

Dave dave at looktowindward.com
Wed Apr 4 06:38:02 EDT 2007


Hi,

What problems are you having with the revCopyFile command? AFAIK it  
works ok. This is a better way of doing since depending on what you  
are doing, using the shell or an external copy command may cause  
problems if you open the new file too quickly.

All the Best
Dave

On 4 Apr 2007, at 11:35, Nic Prioleau wrote:

> Hi all,
>
> having tried, with no result, to copy files using revCopyFile, I  
> decided to try and use shell("copy"). The way I am doing it may  
> seem a little odd but my syntax is this...
>
> put quote & "copy "&source&space&tLocalPath&quote into tTest
> set the hideConsoleWindows to true
> get shell(tTest)
>
> This works fine but only if the folder I am copying to does not  
> have any spaces in it's name.
>
> Can someone tell me how I would get around this problem. It's  
> obviously a DOS issue but I am not sure of the syntax.
>
> Thanks
> Nic
>
>
> ###################################################################### 
> ###############
> This e-mail message has been scanned for Viruses and Content and  
> cleared by MailMarshal
> ###################################################################### 
> ###############
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list