DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: DONE: scan a folder and list all file properties  (Read 10,465 times)

AbteriX

  • Member #520
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,150
DONE: scan a folder and list all file properties
« on: March 14, 2006, 04:46 PM »
I am on the search for a little command line tool
for to print the file properties and redirect them in a text file.

Here is an example of this properties
Spoiler (click to show/hide)
Microsoft Paint

Original Filename MSPAINT.EXE
Internal Name MSPAINT
File Version 5.1.2600.2180(xpsp_sp2_rtm.040803-2158) (5.1.2600.2180)
Product Version 5.1.2600.2180 (5.1.2600.2180)
Company Name Microsoft Corporation
File Description Paint
Copyright Ò Microsoft Corporation. All rights reserved.
Product Name Microsoft« Windows« Operating System
File Name mspaint.exe
File Path C:\WINDOWS\system32\
File Attributes Archive
Creation Time 2005-11-04, 10:28:06
Last Write Time 2004-08-04, 12:00:00
File Size 343040 Bytes (335.0 KBytes)
i got from SiW for one file.

Now i look for a command line utility for to batch process this

like

C:\>GetFileProps.exe    %ProgramFiles%\winrar\    /s     >   FileProp.txt

to list all properties of all files into a text file.

Did someone know such a tool ?
Greetings, Stefan.
« Last Edit: March 15, 2006, 01:52 PM by brotherS »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: scan an folder and list all file properties
« Reply #1 on: March 14, 2006, 06:09 PM »
:) I use ShowVer v1.0.0.1 by Ted Peck, from www.thecodeproject.com.

It throws an exception every now and then, but it's the only one I've found.

Skrommel
« Last Edit: March 14, 2006, 06:11 PM by skrommel »

AbteriX

  • Member #520
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,150
Re: IDEA: scan an folder and list all file properties
« Reply #2 on: March 14, 2006, 09:24 PM »
Thanks skrommel, i check this out.

--
works good with dlls and exes
seams i must wrote an "FOR %%i in()" loop for to scan more than one file
Greetings, Stefan.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: scan an folder and list all file properties
« Reply #3 on: March 15, 2006, 08:19 AM »
:) Or you could compile FileGetFullVer by wOxxOm at http://www.autohotkey.com/forum/viewtopic.php?t=8618.

Skrommel
« Last Edit: March 15, 2006, 08:23 AM by skrommel »

AbteriX

  • Member #520
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,150
Re: IDEA: scan an folder and list all file properties
« Reply #4 on: March 15, 2006, 12:25 PM »
this is an very good point, thank you Mr. Skrommel  :D

This script really works.
Iam just have modified the script to choose first the start folder i want
and then give me an csv file as output.
Then i have input it excel, great!

Now i have to "work for my rent"  ;D
but at the eve i'll update the script
for to give me the file size and last modify date, too.

Thank you  :Thmbsup:
Greetings, Stefan.

Original address: https://www.donationcoder.com/forum/index.php?topic=2788.0