AFAIK, those properties are part of the file format/contents, and not file
system properties.  You would need a description of the MP3 format (or at
least the MP3 file header), or a component/library that know how to access
that information.

HTH,
Tore.

-----Original Message-----
From: EXT-Sauceda, Gilbert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 7:25 PM
To: ActiveServerPages
Subject: Accessing File Properties


I am trying to access the properties of an MP3 file with script. Is this
possible? When I right-click on an MP3, and goto the Summary tab, I see all
these properties, like Comments, Keywords, Category, Subject, Title, etc.

set oFSO = Server.CreateObject("Scripting.FileSystemObject")
set oMP3 = oFSO.GetFile(mp3Path)

for each p in oMP3.???
        Response.Write p.name & "<br>"
next

set oFSO = nothing
set oMP3 = nothing

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to