checking if a directory is already there.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to check an see if a directory is already in the system and if it
isn't I want to create that directory. Can someone tell me a good way to do
this.

Thanks for your help
 
If Len(Dir("C:\ABOM2", vbDirectory)) = 0 Then
MkDir "C:\ABOM2"
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top