Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create folders

Status
Not open for further replies.

RMasters

Programmer
Nov 14, 2000
36
0
0
GB
I am new to VB and I would like an easy and efficient way to check if a folder exists in a directory and if not then to create a new one without the user being prompted. Any help would be greatly appreciated. Thank you.
 
You can use the DIR function to find out if it exists, then just use mkdir to add the folder. MSDN can tell you the specifics of both of these functions.
Dragnut
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top