file directory with creation date & dimensions (for photo listing)

G

Guest

I've done a reasonably good search, but can't find what I need. I've
downloaded Karen's Directory Printer... very good, but doesn't list the
CORRECT creation date for my photos.
Scenario: copied a batch of photos to cd, 2 so one can go offsite, checked
the cds read/opened files ok, then deleted all (and emptied recycle bin...
space needed). Didn't notice until I went to do dir list of the cd (to print
& keep with cd) that the dates were those of when copied to cd. Can still see
all properties in right-click, properties, summary but how the **** do I get
this info into a listing? Can do command prompt DOS listings (a breeze), and
import/edit in Excel, but still doesn't give the CORRECT creation date, or
any info like dimensions, etc.
Can anyone help, please?
 
R

Ramesh, MS-MVP

Hi,

This is possible using Windows Scripting

From David Candy:
http://groups.google.co.in/groups?selm=#[email protected]

Microsoft Windows 2000 Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_lunl.mspx

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Kristine the DragonLady" <Kristine the
(e-mail address removed)> wrote in message
I've done a reasonably good search, but can't find what I need. I've
downloaded Karen's Directory Printer... very good, but doesn't list the
CORRECT creation date for my photos.
Scenario: copied a batch of photos to cd, 2 so one can go offsite, checked
the cds read/opened files ok, then deleted all (and emptied recycle bin...
space needed). Didn't notice until I went to do dir list of the cd (to print
& keep with cd) that the dates were those of when copied to cd. Can still
see
all properties in right-click, properties, summary but how the **** do I get
this info into a listing? Can do command prompt DOS listings (a breeze), and
import/edit in Excel, but still doesn't give the CORRECT creation date, or
any info like dimensions, etc.
Can anyone help, please?
 
R

Ramesh, MS-MVP

You're welcome Kristine. BTW, I've modified David's code little bit. Creates
a file named "ExtendedFileList.txt" in the same folder for which you run the
listing. Automatically opens the Tab de-limited text file in Microsoft
Excel.

- - - - -Script begins from next line- - - -

Set objShell = CreateObject("Shell.Application")
Set WshShell = CreateObject("Wscript.Shell")
Set Ag=Wscript.Arguments
Set Fldr=objShell.NameSpace(Ag(0))
Set FldrItems=Fldr.Items
Set fso = CreateObject("Scripting.FileSystemObject")
FName = FLDR.self.path & "\ExtendedFileList.txt"
Set ts = fso.OpenTextFile(FName, 2, vbtrue)
For x = 0 to 50
t1 = t1 & Fldr.GetDetailsOf(vbnull, x) & vbtab
Next
ts.write FLDR.self.path &vbcrlf
ts.Write T1 & vbcrlf
T1=""
For Each FldrItem in FldrItems
For x = 0 to 50
t1 = t1 & Fldr.GetDetailsOf(FldrItem, x) & vbtab
Next
t1=t1 & vbcrlf
ts.Write T1
T1=""
Next
ts.close

'If you don't have MS Excel, comment next line
'---------------------------------------------
WshShell.Run "excel.exe " & chr(34) & FName & chr(34), 1, True
Set objShell = Nothing
Set WshShell = Nothing
Set fso = Nothing

- - - - Script ends in previous line- - - -


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Kristine the DragonLady" <[email protected]>
wrote in message Thanks Ramesh. It looks way too complicated, but I'll look through it.
--
JackRussellsRule!


Ramesh said:
Hi,

This is possible using Windows Scripting

From David Candy:
http://groups.google.co.in/groups?selm=#[email protected]

Microsoft Windows 2000 Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_lunl.mspx

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Kristine the DragonLady" <Kristine the
(e-mail address removed)> wrote in message
I've done a reasonably good search, but can't find what I need. I've
downloaded Karen's Directory Printer... very good, but doesn't list the
CORRECT creation date for my photos.
Scenario: copied a batch of photos to cd, 2 so one can go offsite, checked
the cds read/opened files ok, then deleted all (and emptied recycle bin...
space needed). Didn't notice until I went to do dir list of the cd (to
print
& keep with cd) that the dates were those of when copied to cd. Can still
see
all properties in right-click, properties, summary but how the **** do I
get
this info into a listing? Can do command prompt DOS listings (a breeze),
and
import/edit in Excel, but still doesn't give the CORRECT creation date, or
any info like dimensions, etc.
Can anyone help, please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top