Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Albacore33
 
Posts: n/a
Default Extracting File Names and Properties

Anybody know of a way to easily convert file name and other file property
data such as modified date, path, size, type, etc. all from a particular
directory and place the data into a spreadsheet where each aspect would be in
it's own column?

Greatly appreciated. thanks.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

I'm kind of reluctant to post this because it's "klunky"
but it will work to a certain extent. The data you get is
limited to that which is listed as "details" - file date
and time, size, file name with extension. I'm sure there's
a better way to do this through VBA and as soon as I post
this that better solution will appear!

Anyhow .... I've done this:

Open up a command prompt window and navigate to the
directory you're interested in.

Copy the contents of that dir to a text file. At the
command prompt type:

DIR FILE.TXT

Where FILE is any name you want to use.

Then copy the contents of that text file to a worksheet.
Edit out the stuff you don't want then use DataText to
Columns to parse out the info.

Sounds like a lot to go through but it only takes a couple
of minutes.

Biff

-----Original Message-----
Anybody know of a way to easily convert file name and

other file property
data such as modified date, path, size, type, etc. all

from a particular
directory and place the data into a spreadsheet where

each aspect would be in
it's own column?

Greatly appreciated. thanks.
.

  #3   Report Post  
Biff
 
Posts: n/a
Default

See, I knew it!

as soon as I post this that better solution will appear!


See your other post in .MISC.

Jim Cone has an add-in to do this.

Biff

-----Original Message-----
Hi!

I'm kind of reluctant to post this because it's "klunky"
but it will work to a certain extent. The data you get is
limited to that which is listed as "details" - file date
and time, size, file name with extension. I'm sure

there's
a better way to do this through VBA and as soon as I post
this that better solution will appear!

Anyhow .... I've done this:

Open up a command prompt window and navigate to the
directory you're interested in.

Copy the contents of that dir to a text file. At the
command prompt type:

DIR FILE.TXT

Where FILE is any name you want to use.

Then copy the contents of that text file to a worksheet.
Edit out the stuff you don't want then use DataText to
Columns to parse out the info.

Sounds like a lot to go through but it only takes a

couple
of minutes.

Biff

-----Original Message-----
Anybody know of a way to easily convert file name and

other file property
data such as modified date, path, size, type, etc. all

from a particular
directory and place the data into a spreadsheet where

each aspect would be in
it's own column?

Greatly appreciated. thanks.
.

.

  #4   Report Post  
Ron
 
Posts: n/a
Default

"Albacore33" wrote in message
...
Anybody know of a way to easily convert file name and other file property
data such as modified date, path, size, type, etc. all from a particular
directory and place the data into a spreadsheet where each aspect would be
in
it's own column?

Greatly appreciated. thanks.


If you have Outlook installed, navigate to the folder in question using
Outlook and then just copy and paste into Excel. It works like a charm.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"