ASP - Duda con el FileSystemObject

 
Vista:

Duda con el FileSystemObject

Publicado por galustiza (5 intervenciones) el 12/04/2006 11:11:36
Hola!

Me gustaria saber si hay alguna funcion del objeto FileSystemObject que me diga si "C:\xxx" es un archivo o carpeta.

Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Duda con el FileSystemObject

Publicado por monky (86 intervenciones) el 12/04/2006 16:17:35
No hay una funcion especifica que te entregue eso... lo que hay son funciones que indican si existe o no un archivo o una carpeta..

Set fs = Server.CreateObject("Scripting.FileSystemObject")
if fs.FolderExists(carpeta) then ....

Set fs = Server.CreateObject("Scripting.FileSystemObject")
if fs.FileExists(archivo) then .....
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar