Michelle,
Only a kind of answer to Q1. Never used SHFileOperation.
It's straight and simple
declare Integer CopyFile in win32api string @, string @, Integer
local FileFrom, FileTo
FileFrom ='C:\tmp\xxx'
FileTo = 'c:\tmp\yyy'
if( empty(CopyFile(@File_From, @File_To, 0)) )
return FALSE
endif
you can find the doc at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/filesio_0x9h.asp>I have two questions:
>
>1. On Nadya's suggestion, I'm looking at copying files using the API instead of COPY FILE. I'm trying to get Ed's example for SHFileOperation to work, but can't find the file ClsHeap. It says it's in the files section, but I can't find it. Does anyone know where it is?
>
>2. In the future, I'm considering trying to speed up reading the files from the hard drive into a cursor. I'm wondering if there's any API function that would help with that. I didn't see anything when scanning through the functions, but I admit I haven't done a thourough search, yet. I just thought I'd ask as long as I was asking about that file.
>
>Thanks,
>
>Michelle
Gregory