>Hmmm I'm not sure where it would default if you don't set in config.fpw. Probably to same place as your getenv("temp").
Nope. If you don't specify location for temp files in Config.fpw, it defaults to VFP's or your EXE's startup directory. Which could also be a read-write problem if you put your EXE in a network directory the user doesn't have write access to.
HTH,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing