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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create directory 1

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
US
Does anyone know how to create a directory using active server pages? More specifically, there is going to be a webform that submits to an asp page and this asp page is going to create a directory structure and several files...but I'm not sure how to create the directories. Any help is much appreciated. Thanks. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
Use this

s="Folder Name"

Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.CreateFolder(s)
set f=nothing
set fso=nothing

Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top