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!

creatfolder problem

Status
Not open for further replies.

Microbe

Programmer
Oct 16, 2000
607
AU
Does anyone know why a script to create a new folder has suddenly stopped working? I even grabbed a really old version and tested it with the same results.

Script is basic:
=======================
newFolderName= "c:\foldername\subfoldername\" & session("user_Login")

set FSYS = Server.CreateObject("Scripting.FileSystemObject")
FSYS.CreateFolder newFolderName

response.redirect "somewhere"

=======================

No, the folder does not exist and it is not being created. It used to work, but suddenly isn't - times out. If it was a Linux box I would say there was a permissions problem or something like that causing it to hang.

There is a value in the session variable and if I toss the newfoldername to the screen, I can see it and it looks fine.

If I stop the script b4 it times out I have to close my browser as it behaves as though the server has shutdown or is just looping its head off.

aaarrrggghhh!!!

Steve Davis
hey.you@hahaha.com.au
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top