>Is there anyway to have spaces in a folder name when using CREATE CURSOR?
>
>EG. Temp folder is \application\document store\working files\
>
>When I use CREATE CURSOR \application\document store\working files\MyTemp
>
>I get syntax error.
That's because when you create a cursor, you can only assign it an alias, not a physical filename. The physical name (if it has any physical presence at all) is something.tmp in the temp directory.
Since your temp folder is already where you want it, you don't need to do anything in particular. Check this:
create cursor mytemp (c c(10))
?dbf()
And the result should be something in your temp directory. Note, again, that the file won't necessarily exist - though it may come into existence, if your cursor grows more than Fox can fit into available memory.