| Create and delete folders |
Create subdirectory "myfiles"
| <%
Foldertocreate=server.mappath("\") &"/cgi-bin/myfiles" Set fs = CreateObject("Scripting.FileSystemObject")
|
Delete subdirectory "myfiles"
| <%
Foldertodelete=server.mappath("\") &"/cgi-bin/myfiles" Set fs = CreateObject("Scripting.FileSystemObject")
|
Delete a folder only in case it exits (to avoid errors)
| <%
Foldertodelete=server.mappath("\") &"/cgi-bin/myfiles" Set fs = CreateObject("Scripting.FileSystemObject")
|