>..., ;
>'"'+m.lcPathToGPG+'"', ;
>1 )
>
>or:
>lcPathToGPG = '"'+m.lcPathToGPG+'"'
This doesn't work. Note that I mentioned that I've tried surrounding the path with quotes within the variable. Nevertheless, I tried doing it exactly as you suggested. Neither of your suggestions work.
Looking at this link
http://www.news2news.com/vfp/?function=138it indicates the directory parameter should be "Address of a null-terminated string that specifies the default directory." So, it appears when you hard code a path, you get the proper address and the string is null terminated, but when you use a variable you don't? Does this give a clue?
Del