|
I'm looking for a way to check if a folder exists, if it does then I want the program to simply rewrite the file within it. If it doesn't exist I want the program to create it then create the file. In this case the location is
| CODE | | Dir("C:\Documents and Settings\Blaze\Desktop\CycloDS Themes\" & txtDirectory.Text & "\skin.xml") |
txtDirectory.Text is whatever the user wants it to be.
I've already got the code to edit a text file (xml in this case) I just need an If/Else or Select Case statement that lets me check to see if the path exists or not.
PS: I've tried multiple ways already and they haven't worked.
This post has been edited by Blaze the Hedgehog on Mar 27 2009, 07:48 PM
|