Latest web development tutorials
 

ASP CreateFolder Method


< Complete FileSystemObject Object Reference

The CreateFolder method creates a new folder.

Syntax

FileSystemObject.CreateFolder(name)

Parameter Description
name Required. The name of the folder to create

Example

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateFolder("c:\asp")
set f=nothing
set fs=nothing
%>

< Complete FileSystemObject Object Reference