Hello.
Thanks ClulessChris, but it is not my problem.
To create a folder on a network share, when you have the right to write, there is no problem.
macleod1021,
I would like to use another credentials.
Like when you use OpenDSObject, when you want to bind the Active Directory, with an admin account.
(ex: OpenDSObject(strADsPath, strUserName, strPassword, 0)
)
I can't find a method to create a folder ... (CreateFolder, CreateDirectory, WMI... ) nothing works!!!!
You can create a share, but only when the folder exists !!!
Is it more clear ?
I have a solution, I launch my program with a RUNAS command... but anyone who has a admin account can execute my program. I can't check who execute this.
RV
PS: Sorry, I french, and my english is not very good!