Dbyte
Technical User
- Mar 6, 2002
- 87
When I view the TIFs thru IE I see a column called "Internet Address". However, when I try to view this column in Windows Explorer (after changing WE settings to show hidden & system OS files) there is no column w/ this name available. Is there a way in VBScript to get this info for files in the TIF folders? I want to output this value to a text file for all HTML files in the TIF folders. Here's the code where I am having trouble:
The oFile.Name line works fine but the oFile.InternetAddress line does not. I have also tried oFile.URL - didn't work.
If someone could provide me with the correct name for this property I'd really appreciate it - thanks.
Code:
For Each File in oFolder.Files
Set oFile = FSO.GetFile(File)
If UCase(Left(oFile.Type, 4)) = "HTML" Then
If DateValue(oFile.DateLastAccessed) = CDate(Date()) Then
oFiletxt.WriteLine(oFile.Name)
oFiletxt.WriteLine(oFile.InternetAddress)
End If
End If
Next
If someone could provide me with the correct name for this property I'd really appreciate it - thanks.