>cXFRX_Folder='C:\wherever_XFRX_is' >set default to (cXFRX_Folder ) >I somehow don't like this - if anything goes wrong, you're stuck in the wrong directory and your error handler isn't really in charge of restoring the working directory. Maybe if you used a setting object from Tom Rettig's envlib, which would restore the previous location during its .destroy()...
set path to mytables additiveit's
set path to fullpath("mytables") additivewhich then isn't relative to your current directory, so if you (accidentally) move to another, your app still finds the files. Still not bulletproof - you may be using relative paths in your app - but may save your butt at times.