Article View: comp.os.msdos.misc
Article #4023Writing output of command "DIR" to a file
From: Donald Erickson
Date: Fri, 14 Jun 1996 00:00
Date: Fri, 14 Jun 1996 00:00
34 lines
2007 bytes
2007 bytes
My previous question(s) in this newsgroup have gotten plenty of good answers which solved my problems; this may be the simplest question of all. I'm working with approximately 10,000 JPG and GIF files on a 1.2G hard drive as well as thousands more on floppies. In order to keep the quantity of filenames in a particular subdirectory under 1000 (the apparent limit of my version of PC TOOLS for some operations), I've separated them into subdirectories based on the first letter of the filename. So that I can avoid downloading duplicate and reposted files, I'd like to maintain the filenames along with size, date, and time in a database using Alpha 4 V. 4. There is no problem creating the database once I can get the list of files into a data file itself. Is there a simple way to redirect the output of the command DIR into a file? Or should I look to one of the shareware catalog programs to provide what I'm looking for? From there, I could easily generate the file to be imported into Alpha 4 but I thought there might be a quick and easy way to avoid that step. Thanks for your help. Donald Erickson erickson@csnsys.com ComStock Net, Rialto, California (909)877-6407 voice Unlimited 28.8 Internet access, $19.95/month.
Technical Details
Message-ID:
<4pqd0u$9g8_001@sl12.csnsys.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b5fc,e534ece2b9f00116,start X-Google-Attributes: gid10b5fc,public X-Google-Thread: f8d79,e534ece2b9f00116,start X-Google-Attributes: gidf8d79,public X-Google-Thread: 104c07,e534ece2b9f00116,start X-Google-Attributes: gid104c07,public X-Google-Thread: f71eb,e534ece2b9f00116,start X-Google-Attributes: gidf71eb,public From: erickson@csnsys.com (Donald Erickson) Subject: Writing output of command "DIR" to a file Date: 1996/06/14 Message-ID: <4pqd0u$9g8_001@sl12.csnsys.com> X-Deja-AN: 160057466 organization: ComStock Net, Rialto, Calif. USA (909)877-6407 keywords: filenames newsgroups: comp.os.msdos.misc,misc.test,alt.test,biz.test