Salve a tutti, ho realizzato il seguente script con l'intento di creare in automatico sottocartelle nella cartella public del mio sito.

lo script viene eseguito correttamente ma la sottodirectory non viene creata perché??? ci sono metodi alternativi??



codice:
		Set FSO = Server.CreateObject ("Scripting.FileSystemObject")
	path = Server.MapPath("../public/"+cstr(username)+cstr(search))
	response.write path
	FSO.CreateFolder(path)
	set fso=nothing
	
	Set FSO = Server.CreateObject ("Scripting.FileSystemObject")
	FSO.copyfile Server.MapPath("../standard/index.asp"),Server.MapPath("../public/"+cstr(username)+cstr(search)+"/index.asp")
grazie !!