Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > General Software


Commercial message



General Software Discuss, I need a program that can.. at International Chat: Software related forum; ..read a directory of files and output the filenames into a TXT file.


Reply
 
Thread Tools
Old 24-02-2006   #1 (permalink)
CD Freaks Member
 
Zombie_Geek's Avatar
 
Join Date: Aug 2005
Posts: 146
I need a program that can..

..read a directory of files and output the filenames into a TXT file.
__________________
AMD Athlon XP 2000+
Albatron KX18DS Pro
BenQ 1655 (retail/BCDB)
Windows XP Home SP2 (NVIDIA IDE)
Corsair Value Select (1GB/dual channel)
Sapphire RADEON 9200SE Atlantis 128MB DDR
Western Digital 80GB IDE
Seagate 120GB IDE
Thermaltake Silent PurePower 420W
Chieftec Matrix case
Zombie_Geek is offline   Reply With Quote
Old 24-02-2006   #2 (permalink)
Moderator, Editor & CD Freaks Guru
 
geno888's Avatar
 
Join Date: Jun 2005
Location: Italy
Posts: 17,398
Re: I need a program that can..

open a "command prompt" (start button --> Run --> cmd --> enter) and type

Dir "NameDir" > "NameFile.txt"

where namedir is the name of the dir you want read, > is the character >, and namefile.txt is the file containing the list

If you use Dir "NameDir" /s > "NameFile.txt"

the txt file will contain also all subdirectories contents
geno888 is offline   Reply With Quote
Old 24-02-2006   #3 (permalink)
CD Freaks Member
 
Zombie_Geek's Avatar
 
Join Date: Aug 2005
Posts: 146
Re: I need a program that can..

Sweet! Thanks for the tip.
__________________
AMD Athlon XP 2000+
Albatron KX18DS Pro
BenQ 1655 (retail/BCDB)
Windows XP Home SP2 (NVIDIA IDE)
Corsair Value Select (1GB/dual channel)
Sapphire RADEON 9200SE Atlantis 128MB DDR
Western Digital 80GB IDE
Seagate 120GB IDE
Thermaltake Silent PurePower 420W
Chieftec Matrix case
Zombie_Geek is offline   Reply With Quote
Old 24-02-2006   #4 (permalink)
Moderator, Editor & CD Freaks Guru
 
geno888's Avatar
 
Join Date: Jun 2005
Location: Italy
Posts: 17,398
Re: I need a program that can..

You're welcome
geno888 is offline   Reply With Quote
Old 25-02-2006   #5 (permalink)
CD Freaks Member
 
petremure's Avatar
 
Join Date: Jun 2005
Posts: 218
Re: I need a program that can..

genno888, are you a guru in batch files too? if so, i'd like to ask your help to modify a batch file that creates a context menu item to list/print the folders' content. are you game?
petremure is offline   Reply With Quote
Old 25-02-2006   #6 (permalink)
Senior (non-technical) Admin
 
Da_Taxman's Avatar
 
Join Date: Mar 2000
Location: Eindhoven, The Netherlands
Posts: 13,475
Re: I need a program that can..

DOS commands rule!
__________________
  • By registering to our forum you accepted our rules and policies (Dutch), so respect CD Freaks by respecting these rules and policies;
  • Please read these helpful tips and links for all (newbies and oldtimers)
  • Please describe your problem as clear as possible in your topic title, so that others can see what it is about and are more inclined to help if it is something they know something about;
  • I do not provide technical support over E-mail or Private Message (emails with such requests will be bounced);
  • Please post your questions as clear as possible, so others can help you get a correct answer sooner;
  • Please use our search, you might get an answer to your question sooner that way;
  • For any forum related issues you can contact me through PM;

  • I don't dislike newbies, just lazy people who expect others to do their work for them.
Da_Taxman is offline   Reply With Quote
Old 25-02-2006   #7 (permalink)
Moderator, Editor & CD Freaks Guru
 
geno888's Avatar
 
Join Date: Jun 2005
Location: Italy
Posts: 17,398
Re: I need a program that can..

Quote:
Originally Posted by petremure
genno888, are you a guru in batch files too? if so, i'd like to ask your help to modify a batch file that creates a context menu item to list/print the folders' content. are you game?
Sorry

My knowledge of DOS commands is really limited. I don't know how to create such a file. I'll ask to a friend (informatic engineer), but I'm not able to do it by myself.
geno888 is offline   Reply With Quote
Old 26-02-2006   #8 (permalink)
CD Freaks Member
 
petremure's Avatar
 
Join Date: Jun 2005
Posts: 218
Re: I need a program that can..

Quote:
Originally Posted by geno888
Sorry

My knowledge of DOS commands is really limited. I don't know how to create such a file. I'll ask to a friend (informatic engineer), but I'm not able to do it by myself.
If he's game, please pm me, and thanks.

To clarify, There's a tip on doing this on www.onecomputerguy.com , but the text file created goes to the root directory (C, and I'd like to modify it so it'll go in the directory that is listed.

Last edited by petremure; 26-02-2006 at 11:05. Reason: details
petremure is offline   Reply With Quote
Old 26-02-2006   #9 (permalink)
CD Freaks Expert
 
RichMan's Avatar
 
Join Date: Jan 2004
Posts: 575
Re: I need a program that can..

petremure, is this the batch file you are referring to?
Code:
@echo off 
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit
If yes, then just remove the c:\ from each line. When you run the batch file, it will create a directory.txt file in the folder you run it from.
RichMan is offline   Reply With Quote
Old 27-02-2006   #10 (permalink)
CD Freaks Member
 
petremure's Avatar
 
Join Date: Jun 2005
Posts: 218
Re: I need a program that can..

yes, that's it! thanks a lot! i hope it works, it's a very good solution for this task, saves one from having to use one of several apps available on the www. why on earth didn't big bill implement it in windows as a default?
petremure is offline   Reply With Quote
Old 28-02-2006   #11 (permalink)
New on Forum
 
Join Date: Feb 2006
Posts: 7
Re: I need a program that can..

hey I had needed this before and spent ages trying to find a freeware sofware that did this. have a look at: http://www.snapfiles.com/get/lsfilelist.html
ukguy is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Program to get??????? sotexpb Burning Software 0 11-09-2006 22:55
Best Program to get sotexpb Copy Protection 0 09-09-2006 18:55
Is there a program for this? MzBehaving Video Edit Software 2 02-09-2006 09:21
DVD Burning Program named SwiftDic 1.64. Great Program! legendarygamer Burning Software 0 25-06-2005 04:42
What's the BEST PROGRAM? GIJoe Newbie Forum 5 20-12-2001 15:43


All times are GMT +2. The time now is 03:35.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0