
August 26th, 2005, 04:29 PM
|
 |
Newton's Apple Wizard
|
|
Join Date: Nov 2003
Location: Los Angeles
|
|
|
Create a folder in ASP
asp Code:
Original
- asp Code |
|
|
|
<% Dim myFSO SET myFSO = Server.CreateObject("Scripting.FileSystemObject") If NOT myFSO.FolderExists("C:\Inetpub\wwwroot\myNewFolder") Then myFSO.CreateFolder("C:\Inetpub\wwwroot\myNewFolder") Else Response.Write "THIS FOLDER ALREADY EXISTS" End If SET myFSO = NOTHING %>
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|