Metoda CreateFolder w ASP

Definicja i użycie

Metoda CreateFolder tworzy nowy katalog.

Słowa kluczowe:

FileSystemObject.CreateFolder(name)
Parametry Opis
name Wymagane. Nazwa katalogu do utworzenia.

Przykład

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