Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   IT / Communications (http://www.chiefdelphi.com/forums/forumdisplay.php?f=85)
-   -   Program to copy list of files from Windows explorer as text into an application? (http://www.chiefdelphi.com/forums/showthread.php?t=32008)

Elgin Clock 30-12-2004 07:07

Program to copy list of files from Windows explorer as text into an application?
 
Does anybody know of a program that will copy the file names of a directory in Windows explorer, and then paste them as usable text into a program, such as word or excel.

What I want to do is copy the filenames and then print them as a list from Word or Excel so I can do some organization.

I have done stuff like this before with the print screen option in Windows and pasted the list on the screen as a image file.

Unfortunately, this comes to be no use to me now in this situation.

I am using Windows XP Home edition btw.

Elgin Clock 30-12-2004 08:26

Re: Program to copy list of files from Windows explorer as text into an application?
 
I don't want to delete this thread, in case anyone else wants to know a program that can do this, but instead....

LS - File List Generator
Generates list of all files in specified directory/subdirectory

http://home.a03.itscom.net/tsuzu/programing/en/

It makes either a .txt file, an .html file, or a .csv file that MS Excel can open very nicely.

Thanks to my Fellow 237er John Boucher for finding this gem for me! w00t!

Sully 30-12-2004 09:44

Re: Program to copy list of files from Windows explorer as text into an application?
 
From a real old timer (DOS days).
If you go to your command prompt (DOS Command Prompt)
You can enter the following command;
'dir /s c: >c-files.txt'

dir - This will give you a listing of all files
/s - includes subdirectories (Folders)
c: - Tells it which drive letter and where to start
> - redirects the output to a file instead of a screen
c-files.txt - just a file name I made up for this example.

If this doesn't help or you are looking for something more specific I will gladly answer any question.
I use this method when trying to backup data to CD-Rs - mostly when trying to sort MP3s.

petek 30-12-2004 12:15

Re: Program to copy list of files from Windows explorer as text into an application?
 
Quote:

Originally Posted by Elgin Clock
I don't want to delete this thread, in case anyone else wants to know a program that can do this, but instead....

LS - File List Generator
Generates list of all files in specified directory/subdirectory

http://home.a03.itscom.net/tsuzu/programing/en/

It makes either a .txt file, an .html file, or a .csv file that MS Excel can open very nicely.

Thanks to my Fellow 237er John Boucher for finding this gem for me! w00t!

Elgin (& John): A big Thank You for pointing out this little gem! I'd used the DOS Dir route a couple of times when I absolutely had to, but these days, with so many files on network servers the path gets to be a real typo trap. The LS applet is very easy, flexible and quick.

Pete

Kyle Fenton 30-12-2004 13:10

Re: Program to copy list of files from Windows explorer as text into an application?
 
I believe most database programs like Filemaker Pro include a feature like this. I have seen it done before.

Astronouth7303 30-12-2004 15:40

Re: Program to copy list of files from Windows explorer as text into an application?
 
On a similar note: Anyone looking for a program that will print the filenames of all the files you drag to it? ie, select a bunch of files, drag them to the app, and drop 'em.

If you ask nicely, I'll write one for you. ;)

Al Skierkiewicz 30-12-2004 21:23

Re: Program to copy list of files from Windows explorer as text into an application?
 
Quote:

Originally Posted by Sully177
From a real old timer (DOS days).
If you go to your command prompt (DOS Command Prompt)
You can enter the following command;
'dir /s c: >c-files.txt'

dir - This will give you a listing of all files
/s - includes subdirectories (Folders)
c: - Tells it which drive letter and where to start
> - redirects the output to a file instead of a screen
c-files.txt - just a file name I made up for this example.

If this doesn't help or you are looking for something more specific I will gladly answer any question.
I use this method when trying to backup data to CD-Rs - mostly when trying to sort MP3s.

Other DOS commands work also. Try 'TREE" to get an ASCII copy of the Explorer file display.


All times are GMT -5. The time now is 10:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi