|
-
Apr 12th, 2006, 08:33 PM
#1
Thread Starter
Fanatic Member
[2005] Check and create folder.
I'd like to check to see if a specific directory exists, and, if it doesn't exist, create it. What's the easiest way to do this? Also, what's the easiest way to check if a file exists? Thanks.
-
Apr 12th, 2006, 08:38 PM
#2
Re: [2005] Check and create folder.
The System.IO namspace has all the I/O related classes, like File and Directory, which are the ones of interest in this case. The My.Computer.FileSystem object in VB 2005 also has methods that will be of use.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|