Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Better way to copy files
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616676
Message ID:
00616733
Views:
32
>I've just tested this and it works fine (ok, there are no double quotes around the filename and it works <s>):
>
>cFile1 = "c:\programme\microsoft visual foxpro 7\fox.bmp"
>cFile2 = "c:\temp\fox.bmp"
>COPY FILE (cFile1) TO (cFile2)
>
>What happens if you try sth. like this on your machine?
>
>Armin

That's what I was doing originally. Sometimes it works, sometimes it says "not a character expression". It was really wierd. Using the exact same code in the command window, I would hit enter on the line one time and it would work, do it again, and it would error. With nothing else changing. At any rate, EXECSCRIPT did the trick for me and it's working. :)

Thanks,

Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform