Graphics Dir List

N

Nobody Special

In WinXP Windows Explorer there is an option for the details view called
Dimensions which provides a column giving the x,y dimensions of all graphics
files in the directory. Can anyone tell me how to produce a text listing of
what shows up in Windows Explorer? I've looked at all kinds of things including
freeware programs such as thumbnail generators, batch files etc. but can't seem
to find anything that will just simply provide a list of the file names, sizes
and dimensions. I can't believe I've spent half a day trying to find something
to do the job. Can anyone help me? Thanks very much if you can.
 
D

David Candy

Drag a folder onto this file then import the file that appears on your desktop into excel.
 
N

Nobody Special

Oh. That sounds intriguing. Could you be a tad more
definitive for me? Sorry. I'm not quite following what it
is you're saying. Thanks
-----Original Message-----
Drag a folder onto this file then import the file that
appears on your desktop into excel.
 
D

David Candy

Put the attached file on your desktop then drag the folder whose files you want catalogued onto the file. It will create a csv file with 51 columns of infomation, most of them blank, with the info you want. Import into excel and delete the columns you don't want. Different types of files have different properties available. This program extracts all shell properties (what you see or could see in a folder window). You can also stick it in Sendto. Type sendto in Start Run and put the file there.

To do sub folders type in a command prompt in the folder that you want to start in (It also does the parent folder - a quirk of For)
for /r %A in (.) do start "" /w "PrintDetailsAppend" "%~dpA"

You need to run the program once before typing the above to install it. Ignore any errors on the first time you run if you just dbl click the file as it installs itself everytime it's run then will error if it can't find a folder, as it won't if you just dbl click it.
 
N

Nobody Special

Wow! That's fantastic! A tad more complicated than I had hoped for, but gets
the job done quite nicely. Thanks ever so much!

---------------------------------------------
Put the attached file on your desktop then drag the folder whose files you want
catalogued onto the file. It will create a csv file with 51 columns of
infomation, most of them blank, with the info you want. Import into excel and
delete the columns you don't want. Different types of files have different
properties available. This program extracts all shell properties (what you see
or could see in a folder window). You can also stick it in Sendto. Type sendto
in Start Run and put the file there.

To do sub folders type in a command prompt in the folder that you want to start
in (It also does the parent folder - a quirk of For)
for /r %A in (.) do start "" /w "PrintDetailsAppend" "%~dpA"

You need to run the program once before typing the above to install it. Ignore
any errors on the first time you run if you just dbl click the file as it
installs itself everytime it's run then will error if it can't find a folder,
as it won't if you just dbl click it.
 
D

David Candy

General purpose means complicated usage. The trade off is writing a script for the exact requirements of each individual which makes it simple to use or one that does everything but requires effort on the users part.

One may want dimensions but another may want date photo taken. It would require 20 times more effort to do a user interface. Small programs require 95% of the effort into the user interface. Large programs (like what your bank uses) the figures are reversed. Medium programs (Word etc) are in between.
 
N

Nobody Special

Yeah, I see what you mean. Scripting is really powerful.
This little script provides just about all the information
one would want about the files in a directory. I've just
GOT to learn scripting! Heheh. Thanks again.
-----Original Message-----
General purpose means complicated usage. The trade off is
writing a script for the exact requirements of each
individual which makes it simple to use or one that does
everything but requires effort on the users part.
One may want dimensions but another may want date photo
taken. It would require 20 times more effort to do a user
interface. Small programs require 95% of the effort into
the user interface. Large programs (like what your bank
uses) the figures are reversed. Medium programs (Word etc)
are in between.
 

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