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. The Lounge
  3. Programming Question

Programming Question

Scheduled Pinned Locked Moved The Lounge
questionxml
161 Posts 124 Posters 35 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.
  • D Dalek Dave

    Who (apart from my good self) still writes .bat files? Are they common or am I one of the old fogies that still employs his DOS knowledge?

    --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

    T Offline
    T Offline
    trakar
    wrote on last edited by
    #152

    .bat files are still alive and well in my world. Mainly for global machine file backup and network drive mapping. Also they are very useful when using file conversion tools that have option flags.

    Mike

    1 Reply Last reply
    0
    • D Dalek Dave

      Who (apart from my good self) still writes .bat files? Are they common or am I one of the old fogies that still employs his DOS knowledge?

      --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

      Z Offline
      Z Offline
      zwickerr
      wrote on last edited by
      #153

      Yes, I still write .bat files. Old fogie, perhaps, but whatever gets the job done, I say. BTW, someone mentioned PowerShell. Is it worth learning? I wrote lots of shell scripts when I worked on Unix systems and it would be nice to have a Windows equivalent.

      1 Reply Last reply
      0
      • D Dalek Dave

        Who (apart from my good self) still writes .bat files? Are they common or am I one of the old fogies that still employs his DOS knowledge?

        --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

        J Offline
        J Offline
        jsrjsr
        wrote on last edited by
        #154

        I wrote one just last night...

        1 Reply Last reply
        0
        • P ProfessorMetal

          LOL We used punch cards on an IBM mainframe when I was in college(MANY moons ago). I had a 500 line Assembly program and dropped the deck. Took me hours to get all the cards back in order. It wasn't funny then but it is now. :laugh:

          M Offline
          M Offline
          Mitch Hughes
          wrote on last edited by
          #155

          In the late 70's and early '80s, CompSci students (me) at the University of Texas at Austin still submitted programs on card decks to the CDC Cyber. We reused general routines (stack, queue, io) by adding cards onto the end of the deck (they were too cheap with space to let us store the code as linkable libraries). Each of those "chunks" was color coded (with a Sharpie) on the top so we could tell them apart. Since we used Pascal, there were no line numbers that the mechanical sorter could use to put them in order, so when the operator dropped them we were SOL. So we learned to draw a diagonal line across the top of the deck to help visually sort them. I still write bat files because: they can be maintained by non-developers, you can't lose the source if changes need to be made, and everyone knows how to invoke a batch file (there are still many people who don't know how to invoke a .vbs script).

          1 Reply Last reply
          0
          • D DerekT P

            Yes, I still occasionally use .BAT files. I no longer poke holes in cards or tape, though. I started with tape; we didn't have a "machine" but we did have a small hand-held bit of metal with some holes in it. You put the tape on it, screwed down a retaining bar and then took a "poker" and pushed it through guide holes in the retaining bar to make the holes in the tape. Then we "moved up" to cards, and had a mechanical hand-held device with an array of 12 "keys" that you had to push (rather hard as I recall, and having memorised the hole positions relating to the different letters/numbers/characters) to punch out the holes in the card. The machine automatically then moved the card one position along. What a treat to move from those devices to a teletype with a card-punch/reader, and then at college to use the electric card punch machines, which had an actual keyboard... :-) OTOH, my first full-time employer had a "punch room" full of "young ladies" doing the punching, from our hand-written coding sheets. Always a treat to take a program down to the punch room or collect a deck... :cool:

            K Offline
            K Offline
            KP Lee
            wrote on last edited by
            #156

            Boy, you sure beat me out on old tales to tell. Except my first employer's "punch room", had, as I recall "middle-aged" ladies in it. Since your punch tech is older than mine, maybe we had the same ladies? :) (I don't mean "had" in the porn sense and the lead didn't like me talking to anyone in the room including her.)

            1 Reply Last reply
            0
            • P ProfessorMetal

              LOL We used punch cards on an IBM mainframe when I was in college(MANY moons ago). I had a 500 line Assembly program and dropped the deck. Took me hours to get all the cards back in order. It wasn't funny then but it is now. :laugh:

              U Offline
              U Offline
              User 8183175
              wrote on last edited by
              #157

              funniest was when my co-operator did not properly load a tape. Spun the damn thing off of the deck. Was laughing like hell as it rolled out the door and down the hall.

              P 1 Reply Last reply
              0
              • U User 8183175

                funniest was when my co-operator did not properly load a tape. Spun the damn thing off of the deck. Was laughing like hell as it rolled out the door and down the hall.

                P Offline
                P Offline
                ProfessorMetal
                wrote on last edited by
                #158

                LOL That's good one.

                1 Reply Last reply
                0
                • D Dalek Dave

                  It's a shame Henry isn't here He could tell us of his days poking holes in cards!

                  --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

                  L Offline
                  L Offline
                  Larry Coates
                  wrote on last edited by
                  #159

                  Hey you ain't lived until you dropped a box of 5000 punch cards, Oh and that was so advanced compared to having to load the bootstrap loader by hand via toggle switches. Hey the good news was there were only 15 instructions to know exactly to the the computer to boot from paper tape!

                  1 Reply Last reply
                  0
                  • D Dalek Dave

                    Who (apart from my good self) still writes .bat files? Are they common or am I one of the old fogies that still employs his DOS knowledge?

                    --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

                    J Offline
                    J Offline
                    John3210
                    wrote on last edited by
                    #160

                    I use them to reduce hassle, such as copying files without having to run Windows Explorer or for setting up a virtual drive... I use the xTree Pro replacement below to search thousands of files (C++ or AS3) for a text string by using a batch file to set up the virtual drive with one command: subst Z: c:\pathToSubDirectory and I then I run ztreewin to log ALL the files on Z with a ".cpp" or ".AS" extention. I just searched 5800 C++ files in 50sec. John www.ztree.com/html/ztreewin.htm http://www.ztree.com/html/ztreewin.htm

                    1 Reply Last reply
                    0
                    • D Dalek Dave

                      Who (apart from my good self) still writes .bat files? Are they common or am I one of the old fogies that still employs his DOS knowledge?

                      --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

                      A Offline
                      A Offline
                      anilgupte
                      wrote on last edited by
                      #161

                      Just came across this old post. I have to say, there are a few things for which you cannot do without DOS. For example "xcopy /s/e/d/y/c" or "xcopy /s/e/d/y/c/l" I use this for backup as well as synchronizing folders and several other things that just can't be done or at least done efficiently in Windows Explorer. Another one is my p.bat (pings several servers to tell me how the network is doing) and t.bat which does the same thing with traceroute. Cheers!

                      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