..


Sponsor Bağlantılar

GetExtensionName

FileSystemObject nesne GetExtensionName yöntemi argüman belirtilen dosya uzantısını verir. Yapmanız gereken tek parametresi uzatma bulmak istediğiniz dosyanın yoludur. İşte bir örnek:






 Dim fs, fileext







 'Ben bir FileSystemObject örneği dell'offetto oluşturmak







 Fs = Server.CreateObject ("Scripting.FileSystemObject") Set









 'Dosya uzantısı Al







 fileext fs.GetExtensionName = ("c: \ www \ mysite \ index.html")







 Response.Write (fileext)









 'Ben temizlenir







 Fs = Nothing Set



Çıktı oluşturulur:
 



 html

 

Aynı Kategoride ...
E-Öğrenme
ASP (İleri) ASP (İleri)
Dinamik Web siteleri oluşturmak için tam ders. En düşük € 39.
ASP Zero (Ebook) ASP Zero (Ebook)
Sıfırdan Microsoft ASP ve VBScript öğrenilmesi. Sadece 29 de €.
ASP ve Access (Ebook) ASP ve Access (Ebook)
ASP ile MS Access veritabanı yönetimi. Sadece 29 de €.
Sponsor Bağlantılar