🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #4022

Re: Writing output of command "DIR" to a file

#4022
From: Erik van Keimpema
Date: Tue, 18 Jun 1996 00:00
16 lines
1445 bytes
Dear Donald,

Your question is one that is easily answerred. The most basic option to redirect the output of 
the DIR-command to a file is with the DOS redirect operators.

Use the following command : dir <start of tree> /s > <filename for log>
start of tree is the directory under which all the gif0files are located.
filename for log is the place and name for the logfile.
The /s option makes DOS recurse into all subdirectories.
(this works for DOS-versions 5.0 and higher)

There are other ways to do this but they are more complex.

Erik van Keimpema
Email: erik.keimpevankeimpema@icim.nl
Technical Details
Message-ID: <4q603g$gkl@maverick.tad.eds.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4pqd0u$9g8_001@sl12.csnsys.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b5fc,e534ece2b9f00116
X-Google-Attributes: gid10b5fc,public
X-Google-Thread: f71eb,e534ece2b9f00116
X-Google-Attributes: gidf71eb,public
X-Google-Thread: 104c07,e534ece2b9f00116
X-Google-Attributes: gid104c07,public
X-Google-Thread: f8d79,e534ece2b9f00116
X-Google-Attributes: gidf8d79,public
From: Erik van Keimpema <erik.keimpevankeimpema@icim.nl>
Subject: Re: Writing output of command "DIR" to a file
Date: 1996/06/18
Message-ID: <4q603g$gkl@maverick.tad.eds.com>
X-Deja-AN: 160797278
references: <4pqd0u$9g8_001@sl12.csnsys.com>
to: erickson@csnsys.com
content-type: text/plain; charset=us-ascii
organization: EDS international
mime-version: 1.0
newsgroups: comp.os.msdos.misc,misc.test,alt.test,biz.test
x-mailer: Mozilla 1.22 (Windows; I; 16bit)