Cetin,
>You might have the c:\temp directory with normal attributes but still get that message.
Could you explain under what circumstances it can happen?
>The easy solution is to create a table instead (a cursor is always created on disk too - you'd add your own cleanup)
>PS: Not really seeing it doesn't exist there with explorer doesn't mean it's not created, even the smallest cursor allocates its filename.A VFP cusrsor may not have a physical presence on the disk if it's relatively small because it's file is created with
FILE_ATTRIBUTE_TEMPORARY attribute which tells OS to avoid writing data back to disk if sufficient cache memory is available.
--sb--