Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. CMD Type command - When did this happen?

CMD Type command - When did this happen?

Scheduled Pinned Locked Moved The Weird and The Wonderful
csharpasp-netcomdebuggingtutorial
13 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P PIEBALDconsult

    Always?

    M Offline
    M Offline
    Mircea Neacsu
    wrote on last edited by
    #4

    Not exactly right: I tried in Windows 98 and doesn't work :) In W2k it works however. Don't have a NT installation to check.

    Mircea

    K P 2 Replies Last reply
    0
    • M Mircea Neacsu

      Not exactly right: I tried in Windows 98 and doesn't work :) In W2k it works however. Don't have a NT installation to check.

      Mircea

      K Offline
      K Offline
      Kevin Marois
      wrote on last edited by
      #5

      You still use Win98?????

      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

      M 1 Reply Last reply
      0
      • K Kevin Marois

        You still use Win98?????

        If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

        M Offline
        M Offline
        Mircea Neacsu
        wrote on last edited by
        #6

        Not exactly: I have VMs with all (ok, almost all) MS OS-es and the "forever" answer made me chuckle and test it on Win98 and Win2k :-D

        Mircea

        1 Reply Last reply
        0
        • M Mircea Neacsu

          Not exactly right: I tried in Windows 98 and doesn't work :) In W2k it works however. Don't have a NT installation to check.

          Mircea

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #7

          I don't recall it ever not working. But I have no way to test it. I have a DOS 6 floppy somewhere... It's possible that I'm just thinking of OpenVMS, and assuming that DOS did it as well. I'm sure I've done things like TYPE *.txt > combined.txt to make one big file.

          S 1 Reply Last reply
          0
          • D Dave Kreskowiak

            I've been using this DOS/Windows shit for 40 years. When did Type start supporting wildcards?

            C:\>Type somefile*

            somefile1.txt

            contentcontentcontent
            contentcontentcontent
            contentcontentcontent

            somefile2.txt

            contentcontentcontent
            contentcontentcontent
            contentcontentcontent

            somefile3.txt

            contentcontentcontent
            contentcontentcontent
            contentcontentcontent

            ...

            Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
            Dave Kreskowiak

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #8

            Using an a asterisk (wildcard) on the command line has always generated a list of files matching the mask. And the list is passed to the command for processing. I've never used it (AFAIR) for 'type' but there is no good reason why not.

            P 1 Reply Last reply
            0
            • P PIEBALDconsult

              I don't recall it ever not working. But I have no way to test it. I have a DOS 6 floppy somewhere... It's possible that I'm just thinking of OpenVMS, and assuming that DOS did it as well. I'm sure I've done things like TYPE *.txt > combined.txt to make one big file.

              S Offline
              S Offline
              scottgp
              wrote on last edited by
              #9

              I liked working on VMS and DCL. That's the environment my first programming job was in. Scott

              P 1 Reply Last reply
              0
              • S scottgp

                I liked working on VMS and DCL. That's the environment my first programming job was in. Scott

                P Offline
                P Offline
                PIEBALDconsult
                wrote on last edited by
                #10

                Mine too. Most of my education and the first ten years of my so-called career.

                S 1 Reply Last reply
                0
                • L Lost User

                  Using an a asterisk (wildcard) on the command line has always generated a list of files matching the mask. And the list is passed to the command for processing. I've never used it (AFAIR) for 'type' but there is no good reason why not.

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #11

                  Well, different DOS commands have different ideas about how a parameter should be specified. DIR is pretty lenient, FIND is pretty restrictive, TYPE may be in between. The point being that the command language interpreter is not the only arbiter of what constitutes a "correct" statement.

                  L 1 Reply Last reply
                  0
                  • P PIEBALDconsult

                    Mine too. Most of my education and the first ten years of my so-called career.

                    S Offline
                    S Offline
                    scottgp
                    wrote on last edited by
                    #12

                    My education was mainframe but my first six years of programming was on PDP's, MicroVAX, etc. Unfortunately it was mostly programming in DIBOL, lol.

                    1 Reply Last reply
                    0
                    • P PIEBALDconsult

                      Well, different DOS commands have different ideas about how a parameter should be specified. DIR is pretty lenient, FIND is pretty restrictive, TYPE may be in between. The point being that the command language interpreter is not the only arbiter of what constitutes a "correct" statement.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #13

                      Exactly so, but my point was about what cmd does when it parses something like "foo*" on the command line itself.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups