View Single Post
Old 02-07-2011, 04:24 PM   #14
Catlady
Grand Sorcerer
Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.Catlady ought to be getting tired of karma fortunes by now.
 
Catlady's Avatar
 
Posts: 7,419
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
Quote:
Originally Posted by snipenekkid View Post
btw, if you want to just keep adding to more to an existing file use a different pipe:

dir /s/b >> library.txt

That appends the directory being scanned, in this case whatever directory you are in at the time, to the end of the existing file. So if you use the original command FF2 presented only using the "append" pipe rather than the create new file pipe, you just need to change the directory names:

dir c:\{library-name} /s/b >> c:\{directory where you are keeping the book list file}list.txt
I'm going to use the generated txt file as the jumping-off point for a spreadsheet. Could I use this command to add new items from a separate directory directly to the spreadsheet (using the filename for the spreadsheet, of course!)?

Quote:
have fun!! DOS is not hard...try Unix or Linux if you want cryptic and hard, but POWERFUL command line stuff. After all MS-DOS was pretty much a sripped down set of commands used by Unix or even CP/M anyway.
I started out on DOS, actually, but didn't use it very much before we switched to Windows. I had to dredge up misty memories, and actually was pretty proud of myself for even remembering how to get to a directory! (I cannot, however, remember how to go UP from a directory to a higher-level directory; I had to keep exiting to do that--pathetic, huh?) Thanks so much for your help!
Catlady is offline   Reply With Quote