¿porque da error CreateFolder?
Publicado por Novato (27 intervenciones) el 22/05/2007 15:53:24
Quiero saber que tengo mal, en este código para crear un directorio.
set oFSO = Server.CreateObject("Scripting.FileSystemObject")
If (oFSO.FolderExists("C:\Inetpub\wwwroot\2008") = false) Then// hasta aquí bien
oFSO.CreateFolder("C:\Inetpub\wwwroot\2008")// pero al llegar a esta linea se cae y el navegador no muestra el error
End If
set oFSO=Nothing
Se agradece de antemano su ayuda.
set oFSO = Server.CreateObject("Scripting.FileSystemObject")
If (oFSO.FolderExists("C:\Inetpub\wwwroot\2008") = false) Then// hasta aquí bien
oFSO.CreateFolder("C:\Inetpub\wwwroot\2008")// pero al llegar a esta linea se cae y el navegador no muestra el error
End If
set oFSO=Nothing
Se agradece de antemano su ayuda.
Valora esta pregunta


0