Welcome to the North American Subaru Impreza Owners Club Friday September 19, 2014
Home Forums WikiNASIOC Products Store Modifications Upgrade Garage
NASIOC
Here you can view your subscribed threads, work with private messages and edit your profile and preferences Home Registration is free! Visit the NASIOC Store NASIOC Rules Search Find other members Frequently Asked Questions Calendar Archive NASIOC Upgrade Garage Logout
Go Back   NASIOC > NASIOC Miscellaneous > Off-Topic

Welcome to NASIOC - The world's largest online community for Subaru enthusiasts!
Welcome to the NASIOC.com Subaru forum.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, free of charge, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!

If you have any problems with the registration process or your account login, please contact us.
* Registered users of the site do not see these ads.
Reply
 
Thread Tools Display Modes
Old 07-14-2006, 02:50 PM   #1
Krmnnghia01
Scooby Newbie
 
Member#: 95080
Join Date: Sep 2005
Location: Lansing, MI
Default Need assistance from the windows/PC gurus out there!

I am trying to find a simple program that can basically give me the following data but in a better format...

Dir /S /B /A-D > "X:\Path to Output File\File.txt"

This will povide me with the path and the file name but not the file size. Plus its in the most simplest form which excel hates. Anyone know of a program to simplify this? Possibly dump to Excel?

Thanks guys
* Registered users of the site do not see these ads.
Krmnnghia01 is offline   Reply With Quote
Old 07-14-2006, 11:41 PM   #2
Jessie James
Scooby Specialist
 
Member#: 2072
Join Date: Aug 2000
Chapter/Region: MAIC
Location: Out of my mind
Default

You want something to give you a directory listing?

I googled up something like Directory Lister or the likes and found 22,000 matches. Sorry, no link right now, but it's out there.
Jessie James is offline   Reply With Quote
Old 07-15-2006, 12:33 AM   #3
mexicanpizza
Scooby Specialist
 
Member#: 16779
Join Date: Mar 2002
Chapter/Region: SCIC
Location: Oceanside, CA
Vehicle:
2008 God's Gift to
Turbo Wagons (MS3)

Default

Dir /S /N /A-D > "X:\Path to Output File\File.txt"

If you open from within excel, and import with Space delimited, that will give you the directories, filenames, and filesizes. With some excel formula's in a couple columns off to the right you can clean them up pretty easily.
mexicanpizza is offline   Reply With Quote
Old 07-15-2006, 02:16 AM   #4
JScoob
Scooby Newbie
 
Member#: 48163
Join Date: Nov 2003
Location: socal
Vehicle:
2003 wrx

Default

Quote:
Originally Posted by mexicanpizza
Dir /S /N /A-D > "X:\Path to Output File\File.txt"

If you open from within excel, and import with Space delimited, that will give you the directories, filenames, and filesizes. With some excel formula's in a couple columns off to the right you can clean them up pretty easily.
No that won't work if folders and files have spaces in them, which most likely they do - "Documents and Settings" for example. Plus the filenames don't have their fullpath. I don't think you can do it with a DOS dir and but you can in *nix, ie linux:

find . -printf "%p\t%s\n"

If you're on windows, download cygwin from www.cygwin.com - this will give you a unix like environment on windows. Open a cygwin window and type

cd c:

or whereever you want to start your file listing from.

followed by the above "find" command. You will get recursive listing of every file from where you are, with the file size in bytes, delimited by tab.
JScoob is online now   Reply With Quote
Old 07-15-2006, 02:27 AM   #5
aod
NASIOC Supporter
 
Member#: 7121
Join Date: Jun 2001
Chapter/Region: MWSOC
Location: Officer Go F*** Yourself just
Vehicle:
thre atened to kill
me!

Default

Or if you wanted to do , delineated you could run this command in cygwin:

ls -alR |awk '{print $6 " " $7 " " $8 "," $5 "," $9}'

Output would be like:
Jun 28 2005,136480,suspic.wav
Jan 9 2004,22302,virfound.gif
Jun 28 2005,214370,virfound.wav
Jun 28 2005,95496,vpsupd.wav
aod is offline   Reply With Quote
Old 07-15-2006, 03:03 AM   #6
bobturismo
Scooby Specialist
 
Member#: 42145
Join Date: Aug 2003
Location: cruizin' down the street in my
Vehicle:
6-4 jockin da bish-
es and slappin the hoes.

Default

I type words, YEAH!!!
bobturismo is offline   Reply With Quote
Old 07-15-2006, 08:34 AM   #7
Krmnnghia01
Scooby Newbie
 
Member#: 95080
Join Date: Sep 2005
Location: Lansing, MI
Default

Awesome guys thanks for the help!
Krmnnghia01 is offline   Reply With Quote
Old 07-15-2006, 11:36 AM   #8
mexicanpizza
Scooby Specialist
 
Member#: 16779
Join Date: Mar 2002
Chapter/Region: SCIC
Location: Oceanside, CA
Vehicle:
2008 God's Gift to
Turbo Wagons (MS3)

Default

Quote:
Originally Posted by JScoob
No that won't work if folders and files have spaces in them, which most likely they do - "Documents and Settings" for example. Plus the filenames don't have their fullpath. I don't think you can do it with a DOS dir and but you can in *nix, ie linux:

find . -printf "%p\t%s\n"

If you're on windows, download cygwin from www.cygwin.com - this will give you a unix like environment on windows. Open a cygwin window and type

cd c:

or whereever you want to start your file listing from.

followed by the above "find" command. You will get recursive listing of every file from where you are, with the file size in bytes, delimited by tab.
Uh....the extra spaces are nothing that a =concatenate can't fix.
mexicanpizza is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need assistance from the NWIC group 06_Aspen_STI North West Impreza Club Forum -- NWIC 1 05-31-2008 07:38 PM
need help from the compression ratio gurus mellow65 Built Motor Discussion 1 10-26-2007 05:19 AM
Cobb Tuning needs to ask for some assistance from the locals... Christian. Rocky Mountains Impreza Club Forum -- RMIC 0 01-30-2006 05:57 PM
Need help from the computer geeks out there. DreamingOfBoost Off-Topic 9 10-18-2004 01:55 AM
Need some help with my car from all the tech Gurus out there JDM5LugHatch Mid Atlantic Impreza Club -- MAIC 0 07-01-2003 10:07 AM


All times are GMT -4. The time now is 01:27 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2014 Axivo Inc.
Copyright ©1999 - 2014, North American Subaru Impreza Owners Club, Inc.