Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get file title

Status
Not open for further replies.

iranor

Programmer
Jun 17, 2004
174
CA
Is it possible to get the file title of a file with vbsscript? like when you click Properties then Resume and set the title.

This is my actual code.

Code:
<%  

Dim objFSO
Dim objFolder
Dim objFile

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:/test")

For Each objFile In objFolder.Files
     Response.Write(objFile.Name)
Next
 
neo, looks like this may be part of an asp page? Should just be "Title" in your fso object.

Nick
 
Do a search for Shell.Application or DSOFile since both of these should let you take a look at the file's title as seen in the properties page.

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top