To get the path name for the 'My Documents' folder in MapBasic, use this: sPath = GetFolderPath$ (FOLDER_MYDOCS)
Thanks to David Langley for reminding me of that. There's no need to rummage through the registry, and using the CSIDL is the proper way to identify special folders. There's a good article on working with Windows' latest shell at the MSDN site. See Shell Basics at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/manage.asp In particular, see 'Managing hte FIle System.' -- - Bill Thoen ------------------------------------------------------------ GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302 tel: 303-786-9961, fax: 303-443-4856 http://www.gisnet.com/ ------------------------------------------------------------ --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 9717
