you should append the filename to the destination path I think, so something like this:
set OK = baCopyFile( the moviePath &"biog1\biog1.doc" , thomas&"Download\biog1.doc" , "Always+" ) J. -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Dan Sheridan Verzonden: vrijdag 21 januari 2005 15:52 Aan: lingo-l Onderwerp: <lingo-l> Buddy API - PC now!!! Hi All, Thanks for your input with the mac subject, I have now got a slight problem on the PC, originally the client wanted me to make a folder on the users computer and copy a file from the cd to it... so I made the script using the baCopyFile function to the users c:\ drive... However now the client has asked me to create a folder on the desktop, so it will be easily accessible. I am able to create the folder okay with the below script, however the copy file function does not seem to happen... any ideas? on mouseup me if the environment.osVersion contains "Windows" = true then thomas = baSysFolder("desktop") set OK = baCreateFolder(thomas &"Download") set OK = baCopyFile( the moviePath &"biog1\biog1.doc" , thomas&"Download" , "Always+" ) end if end Cheers, Dan ;) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
