Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Dos newbie  (Read 7192 times)

0 Members and 1 Guest are viewing this topic.

macdad-



    Expert

    Thanked: 40
    Re: Dos newbie
    « Reply #15 on: February 02, 2009, 04:09:27 PM »
    *Smack head*
    didnt know you could get it on Microsofts website.  :P
    If you dont know DOS, you dont know Windows...

    Thats why Bill Gates created the Windows NT Family.

    Dias de verano

    • Guest
    Re: Dos newbie
    « Reply #16 on: February 03, 2009, 12:17:39 AM »

    macdad-



      Expert

      Thanked: 40
      Re: Dos newbie
      « Reply #17 on: February 03, 2009, 12:41:22 PM »
      dang thats got a lot of tools  :o
      and they are all command line?
      If you dont know DOS, you dont know Windows...

      Thats why Bill Gates created the Windows NT Family.

      Dias de verano

      • Guest
      Re: Dos newbie
      « Reply #18 on: February 03, 2009, 01:04:03 PM »
      dang thats got a lot of tools  :o
      and they are all command line?

      Many of them are.


      macdad-



        Expert

        Thanked: 40
        Re: Dos newbie
        « Reply #19 on: February 04, 2009, 12:32:44 PM »
        awesome, gotta download this.
        and thanks for the link  8)
        If you dont know DOS, you dont know Windows...

        Thats why Bill Gates created the Windows NT Family.

        Flux

          Topic Starter


          Rookie

        • i am aware that most of my questions are stupid.
          Re: Dos newbie
          « Reply #20 on: February 08, 2009, 06:47:06 PM »
          Flux - Welcome to the CH forums.

          Get used to it - you cannot access Dos in Win XP, Win XP is not built on Dos.  What you can use is a Windows program named Cmd.exe which is a Dos emulator and runs in a window so to call it Dos is a misnomer.  You can, however, run things like DosBox.

          Here is a list of NT commands for use at the XP Command Line or in scripts.  Some are available only in XP Pro, others must be extracted from the Resource Kit.

          Good luck.
          dude thanks for the link. i really appreciate your help. im sure these would do.
          its always better to give people the impression that you're stupid than to open your mouth and remove all doubts.

          GuruGary



            Adviser
            Re: Dos newbie
            « Reply #21 on: February 08, 2009, 11:25:22 PM »
            ping -n 1 -w 1000 1.1.1.1 >nul

            can be used as a wait command, or just to ping a computer or server on your network.

            the 1000 is the timeout, that makes PING a excellent wait command.
            and the 1000, is in milliseconds so that would make PING wait for 1 sec.

            It is actually a very bad practice to ping an IP address that you don't administer or have control over.  Besides not being polite (depending on how it is used and how often it could be considered a denial of service attach which I know is not your intent), it is not reliable.  For example, I assume by your example that your are expecting 1.1.1.1 to not respond to your ping (ICMP echo request). If the owner of that IP decides to one day enable ICMP echo for that IP address, then your command above would only pause for a few milliseconds.  It is much better to ping something that you have control over, such as localhost, or 127.0.0.1.  You can use
            Code: [Select]
            ping -n 2 localhost >NULto pause for about 1 second (the number should be n+1 where n is the number of seconds to pause because the 1st reply should be instant, and the others will wait 1 second by default).

            I hope nobody takes offense to this ... just trying to point out a better way.

            macdad-



              Expert

              Thanked: 40
              Re: Dos newbie
              « Reply #22 on: February 09, 2009, 11:27:15 AM »
              good point
              If you dont know DOS, you dont know Windows...

              Thats why Bill Gates created the Windows NT Family.