Re: [NTB] getdosoutput
To get all of the switches for a DOS command like dir (the command used in
your example), open a command promt window (usually available on the start |
programs menu, just select start | run and then enter either command [for
Win9x] or cmd [for WinNt/2K]). Then enter the command with the /? switch.
(or "time /?", or "tree /?", or "find /?", etc.). You can redirect the help
output to a file by adding a ">" symbol followed by the filename, as
dir /? > "c:\dir_help.txt"
(the quotes around the filename are only required if the file name or path
has spaces or other special characters in it).
When you get tired of what you can do with DOS commands, then it's time to
check out Windows Script Host and a scripting language like VBScript or
----- Original Message -----
From: "David McIntosh" <dgmc@...>
To: "Note Tab" <firstname.lastname@example.org>
Sent: Thursday, February 14, 2002 6:24 AM
Subject: [NTB] getdosoutput
> Would anyone have the full list of all the DOS SWITCHES eg. in the
> command below
> the /a:d /b /s is there more of these ???
> ^$GetDosOutput(dir /a:d /b /s "C:\temp\*.*")$
> THANKYOU DAVE
> To unsubscribe click on address below and send the message empty:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/