FolderName = "mp3s/"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(Server.MapPath(FolderName))
For Each objItem In objFolder.Files
Response.Write objItem.Name & "<br>"
Next
Set objFolder = Nothing
Set objFSO = Nothing
HTH
Sam Thompson
----------------------------------------------
2cs Communications Ltd
http://www.2cs.com
[EMAIL PROTECTED]
T: 01473 622263
F: 01473 622515
-----------------------------------------------
----- Original Message -----
From: "EXT-Sauceda, Gilbert" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 12:25 AM
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]