Hey Don, I appreciate that info about the DIR command. I'm always doing DOS
directory searches, and it's a pain in the butt to keep typing in the /on /p
bit.
Does that old grey matter remember if there's a 'FIND' facility in DOS?
Ian Porter
Computer Guys
Arrowtown
New Zealand
[log in to unmask]
----- Original Message -----
From: "Don Elias" .EDU>
Sent: Sunday, June 16, 2002 6:07 PM
Subject: Re: [PCSOFT] DOS Command
> I scratched part of my head that used to contain all about DOS
> and a few things came out.
> 1. "SET" sets a variable named DIRCMD (in this case) in the
> environment to the value "/O:N/P" You can verify this by typing
> the command "SET" in DOS and it will respond with all the
> environmental values including "DIRCMD=/O:N/P"
> 2. The switches you are setting by this command are "/O:N"
> and "/P" The switch "/O:N" says to Order the files by Name.
> The switch "/P" says to pause after each Page of file names
> are displayed on the screen.
> 3. Now that information is stored in the environment so that
> when the DOS command "DIR" (to display the contents of a
> directory) the files will be automatically sorted by name and
> will be displayed a page at a time. (Requires a carriage
> return to display the next page)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database: 205 - Release Date: 5/06/2002
"Hold No Punches.." Rode brings you great shareware/freeware
programs with his honest opinions in this weekly column.
http://freepctech.com/rode
|