Thanks sir for reply but where should I modify taFileList and how to use GETFILE() to pass a file name in function?
>Obviously the function has an parameter
taFileList.
>The number of files are described in this parameter determines how many files are copied.
>The number ranges from 1 to 64k.
>
>So you might simply copy the code (do not forget to mention your source in your code) and hand it
one file description.
>Or you figure out the place where it looks how many files are in the parameter and reduce it to one.
>It's pretty straight forward, you should have no problem analysing it.
>
>>Dear Sir,
>>
>>I want to copy file to _clipboard, so I found this link
>>
>>
https://www.berezniker.com/content/pages/visual-foxpro/copy-files-clipboard>>
>>the link has a function like this
>>
>>
>>
>>FUNCTION CopyFiles2Clipboard(taFileList)
>>
>>
>>I think it copies list of files, but I want to pass a single file in function parameter like this
>>
>>
>>
>>cFile=getfile()
>>
>>
>>
>>How is it possible, please help