Using Shell to copy files

Nic Prioleau nickp at didata.bw
Wed Apr 4 06:35:36 EDT 2007


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



More information about the use-livecode mailing list