Loading ...
Sorry, an error occurred while loading the content.
 

Re: [NTB] getdosoutput

Expand Messages
  • Don Paul Beletsky
    David, 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 |
    Message 1 of 3 , Feb 15, 2002
      David,

      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.
      For example:

      dir /?

      (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
      follows:

      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
      JavaScript (or Python or Perl or ...) for unlimited possibilites! ;-)

      Don Paul

      ----- Original Message -----
      From: "David McIntosh" <dgmc@...>
      To: "Note Tab" <notetab@yahoogroups.com>
      Sent: Thursday, February 14, 2002 6:24 AM
      Subject: [NTB] getdosoutput


      > Hi
      > 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:
      > mailto:notetab-unsubscribe@yahoogroups.com
      > http://groups.yahoo.com/list/notetab
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.