Hello everyone, can some one help me with the code to create a folder by code in vb6?
The scenario I have is that I have an application that allows users to login but waht I need specific is to create users forlder during registration so when logged on can only access the pre created folder by his/her name,thanks

Recommended Answers

All 2 Replies


Use "MkDir"

MkDir "C:\MyNewFolder"

before that, you need to make sure, the folder does not exist


QVeen72 your owesome, It worked!!! Thanx a lot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.