>I have a program that will ask the user for a directory name. I need to be able to verify whether or not that directory exists. > >Can anyone give me some example code for checking for the existence of a directory contained in a string? > You can use the Dir statement or the GetFolder method of FSO (http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/doc/vsmthgetfolder.htm).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP Conseiller Principal / Senior Consultant Moer inc. http://www.emoreau.com