Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Createfolder Method Not Working

Status
Not open for further replies.

byrne1

Programmer
Aug 7, 2001
415
US
I have an ASP page that attempts to execute the code listed below. When I try to load the page IE just sits there in it's "busy" state (flag waving, status bar barely incrementing) but nothing happens. I have to stop and start IIS before any additional ASP code will execute. I have let it sit for 15 minutes to see if it would produce an error but it does not.

I've ensured that the IUSR account for my machine has rights to the C: drive. The ASP files are loaded on my local machine.

Any ideas on what could be causing this???


<%
Dim FSO
Set FSO=Server.CreateObject &quot;Scripting.FileSystemObject&quot;)
filedir = &quot;C:\New Folder&quot;

if fso.folderexists(filedir) = false then
fso.createfolder(filedir)
end if
%>
 
you forgot a &quot;(&quot;

<%
Dim FSO
Set FSO=Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
filedir = &quot;C:\New Folder&quot;

if fso.folderexists(filedir) = false then
fso.createfolder(filedir)
end if
%>

www.vzio.com
ASP WEB DEVELOPMENT



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top