Hello Victor
do it via the run command not in foxpro
>Dear collegaues,
>
>I have a difficulties with plain Copy File command (Win2K, VFP6):
>
>It works:
>Copy file Source.txt To Destination.txt
>
>It doesn't work:
>Copy file C:\LongFolderName\Source.txt TO D:\LongFolderName\Destination.txt
>
>"Cannot create file" message pops up.
>
>I tried to use D:\LongFo~1\Destination.txt - doesn't help.
>Also I tried to use quotes for file names - bad luck.
>
>Any ideas?
>Thank you.