Nadya,
we're not lazy - just frugal with out time <g>.
I had played a bit with both bits of code. But with the reference to not being able to work on Win95, then I'm sunk. Over half my users are still running Win95 (and since we work for the State of TN, that won't change overnight). After looking at a few things, I'm tempted to write my own. Or just use GETDIR() and if they chose to cancel, prompt if they wish to create a folder or actually cancel the process.
The reason for all of this is to give the users a choice of where to put a backup (copy) of their database. Currently, I am copying the contents of their DATA sub-folder (in the application directory) to a sub-folder called BACKUP. Then I realized they needed to have a choice in the matter (dangerous stuff, choices & end-users <g>). Hence, looking for a way to "GetDir" with the ability to create a new folder.
Thanks again for the insight.
=======================
J Robert Jernigan
Calabasas, CA USA
jrjernigan@hotmail.com"To err is human ... I should know, I get to show my humanity everyday!" jrj
"I just love the internet - it takes this great big planet and makes it smaller. Now, why can't we all just get along?" jrj