Using Shell to copy files

Nic Prioleau nickp at didata.bw
Wed Apr 4 06:52:47 EDT 2007


Yeah I hear you... Problem is my revCopyFile is returning a 1, so I am not 
too sure what this means(other than it's in error). Does this command also 
worry about spaces in the folder names?

----- Original Message ----- 
From: "Dave" <dave at looktowindward.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Wednesday, April 04, 2007 12:38 PM
Subject: Re: Using Shell to copy files


> 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
>
> _______________________________________________
> 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
> 


#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################



More information about the use-livecode mailing list