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!

Create folder on existing share

Status
Not open for further replies.

Mijjoiji

IS-IT--Management
May 15, 2001
48
0
0
SE
Hi!
I´m lost in the world of VB script. I´ve done a couple of small scripts but I must say that I´ve got a lot to learn ;). Anyway, I want the script to create a folder on the users homedirectory (h:\documents\isi) when the client runs the script. And this must be done without any input from the users (lamers :) This should be very easy but as I said, I´m noob ;). Hope someone can come up with a idea!

Best Regards
/Jim
 
Try
set fso = CreateObject("Scripting.FileSystemObject")
fso.CreateFolder("h:\documents\isi\{newdir}")


 
Thank you uniq! That really helped me out!

Best Regards
/Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top