Jump to content
Sign in to follow this  
ITSky8

About Create New Directory

Recommended Posts

ITSky8

Hello!

I would like to know how to check a folder in a drive's existing, e.g. Firstly check c:\temp, if the temp folder is created, then don't create the folder of temp, otherwise, use DirCreate("c:\temp") to create the folder. How to check that? Thanks!

Share this post


Link to post
Share on other sites
weaponx

If NOT FileExists("C:\temp") Then DirCreate("C:\temp")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×