Code Comments
Programming Forum and web based access to our favorite programming groups.>
>John Seberg says:
>
>
John,
Your absolutely right !
I *usually* do the following if I have to ensure a directory exists:
swpruncmd("MD &cMyDir",0,"",0)
using Blinker's swap function to create the directory -- whether the
directory exists or not. This is careless and lazy of me, but it always work
ed
with no problem *until* Win XP came along. Then the error occurred and 'kic
ked
up' my user's screen.
So, I fished around in my utilies until I came across the function
FT_MkDir(cMyDir) and another utility called isdir(cMyDir). A combination of
these along with my own MD(cMyDir) gives me what I want.
Thanks for the help !
-Mel Smith
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.