Phương thức CreateFolder của ASP

Định nghĩa và cách sử dụng

Phương thức CreateFolder tạo một thư mục mới.

Cú pháp:

FileSystemObject.CreateFolder(tên)
tham số miêu tả
tên phải có. Tên thư mục cần tạo.

thực thể

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