DOS command

Thank you.


----- Original Message -----
From: "rleury" <beury@...>
To: <vantage@yahoogroups.com>
Sent: Thursday, April 11, 2002 6:56 AM
Subject: [Vantage] RE: DOS command


> On Tue, 09 Apr 2002 22:35:36 Mike Tonoyan Wrote:
>
> > Does any body familiar with DOS commands know how to get the same
> > results in windows as the following:
> > DIR *.TXT /O /B > TEST.TXT ?
>
> Mike, Unfortunately there is no way in Windows to print a directory
> listing without using a dos window (command prompt) and entering
> the DOS command. This function is available if you are using Outlook
> (Not Outlook Express); Try this:
>
> 1. In Microsoft Outlook, click Other Shortcuts on the shortcut bar.
>
> 2. In the Look in box, click File System, and then click My Computer.
> NOTE: You may want to view the folder list. (This differs slightly
> for different versions of Outlook)
>
> 3. Click the folder that you want to list.
>
> 4. On the File menu, click Print, click Table Style. Outlook prints
> a list of every file that is in that folder and includes the file
> size, date, and other attributes.
>
>
>
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
Does any body familiar with DOS commands know how to get the same
results in windows as the following:
DIR *.TXT /O /B > TEST.TXT ?

Mike Tonoyan / All American Products Co.
On Tue, 09 Apr 2002 22:35:36 Mike Tonoyan Wrote:

> Does any body familiar with DOS commands know how to get the same
> results in windows as the following:
> DIR *.TXT /O /B > TEST.TXT ?

Mike, Unfortunately there is no way in Windows to print a directory
listing without using a dos window (command prompt) and entering
the DOS command. This function is available if you are using Outlook
(Not Outlook Express); Try this:

1. In Microsoft Outlook, click Other Shortcuts on the shortcut bar.

2. In the Look in box, click File System, and then click My Computer.
NOTE: You may want to view the folder list. (This differs slightly
for different versions of Outlook)

3. Click the folder that you want to list.

4. On the File menu, click Print, click Table Style. Outlook prints
a list of every file that is in that folder and includes the file
size, date, and other attributes.
Thanks Michael,

Good old DOS, life was lot easier then.
: )

Mike Tonoyan




----- Original Message -----
From: "Michael Miles" <mmiles@...>
To: <vantage@yahoogroups.com>
Sent: Wednesday, April 10, 2002 10:14 PM
Subject: RE: [Vantage] DOS command


> Mike,
>
> I didn't see any responses to this post ... so here goes ...
>
> I presume you don't want to run a .CMD or .BAT to do this, so one way is
to
> use a Script. I have been looking for an excuse to read about Windows
> Script. Turns out it can run a number of different script types (eg
> VBScript, Java Script), we have all probably seen the .vbs extension that
we
> associate with viruses (eg HotChick.jpg.vbs). I had to allow Norton to
run
> my test script !
>
> After a bit of looking around for functions and methods on
> msdn.microsoft.com, I believe something like the following will do what
you
> are looking for :-
>
> ----- Put these in a .vbs file and run -----
> Const ForReading = 1, ForWriting = 2
>
> Dim fso, f1, f2, f3, f4
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set f1 = fso.GetFolder("h:\temp")
> Set f4 = fso.OpenTextFile("h:\text.txt", ForWriting, True)
> Set f3 = f1.Files
> For Each f2 in f3
> If f2.type = "Text Document" Then
> WScript.Echo f2.name
> f4.WriteLine f2.name
> End If
> Next
> ----- End of Text file -----
>
> There are lots of other useful things you can do as well, like
> creating/modifying Active Directory object, Registry keys, creating
> printers.
>
> Don't ask me questions though, I know nothing more than I have learnt in
the
> past hour. It looks like the sort of topic that you need a week and a
good
> book to become familiar with. I'm sure Thad could do much better with his
> programming background.
>
> Regards
> Michael
> -----Original Message-----
> Does any body familiar with DOS commands know how to get the same
> results in windows as the following:
> DIR *.TXT /O /B > TEST.TXT ?
>
> Mike Tonoyan / All American Products Co.
>
>
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>