G
Guest
In the old days, you could get a file type in ASP by doing:
dim fs, fld, f
set fs = server.createobject("Scripting.FileSystemObject")
set fld = fs.GetFolder(server.mappath(sCurrentDir))
for each f in fld.subfolders
f.type
next
How do you get a file type in .Net?
dim fs, fld, f
set fs = server.createobject("Scripting.FileSystemObject")
set fld = fs.GetFolder(server.mappath(sCurrentDir))
for each f in fld.subfolders
f.type
next
How do you get a file type in .Net?