I tested this out and it appears to work..thanks Mike. I'll find out more when the test group gets it on Monday.
>>Ok then, how about this... if I have the long directory name, how can I get the shortened version of it?
>
>How about the Win32 GetShortPathName()?
>
Declare integer GetShortPathName in win32api string @, string @, integer
>lsShortPath = Space(200)
>?getshortpathname("c:\documents and settings", @lsShortPath, 200)
>?lsshortpath
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer