topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 8:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
DONE: scan a folder and list all file properties
« on: March 14, 2006, 10:46 AM »
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
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 ?
« Last Edit: March 15, 2006, 07:52 AM by brotherS »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: scan an folder and list all file properties
« Reply #1 on: March 14, 2006, 12: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, 12:11 PM by skrommel »

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
Re: IDEA: scan an folder and list all file properties
« Reply #2 on: March 14, 2006, 03: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

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: scan an folder and list all file properties
« Reply #3 on: March 15, 2006, 02: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, 02:23 AM by skrommel »

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
Re: IDEA: scan an folder and list all file properties
« Reply #4 on: March 15, 2006, 06:25 AM »
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: