TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Gregg Nemesure
from: Gregg Nemesure
date: 2004-02-11 23:14:38
subject: Re: DIR == Excel

From: Gregg Nemesure 

Gregg Nemesure  wrote in
news:Xns948CEA7C740FBnemesuremindspringco{at}216.144.1.254:

> I don't know if you mentioned which version of NT you are using, but
> many commands and the command interpreter itself (cmd.exe batch
> language) became more powerful in Windows 2000 than in predecessors.
> Just type /? after a command to see its options, or look up the
> command in help.
>
> If you can't do what you want with dir, sort, find, etc., you can
> certainly do it with vbscript or jscript. Both of these are included
> in Windows 2000 and XP. Both support regular expressions, string
> manipulation, and file system functions. I think especially VBScript
> is good for this sort of thing, is pretty easy to learn, and has a lot
> of information about it available on the Web.
>

Or, as Geo said, just use something like "dir d:\ /b /s /oe >
dir.txt" to generate a raw listing and worry about the text
manipulation once it is in Excel. You might find the /N option useful. Once
it is in Excel, you can cut unneeded columns or headings.

Gregg

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.