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 9 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

    U Offline
    U Offline
    Unused Account Safe to Delete
    wrote on last edited by
    #116

    Well, here in Cuba the whole process of grading the National Programming Contest for High School students is done using bat files. The last one I made for that earned me the nickname "batman".

    1 Reply Last reply
    0
    • S SkipSailors

      JCL R00lz!

      Ship it!

      R Offline
      R Offline
      richard_k
      wrote on last edited by
      #117

      Actually, on Unisys mainframes it is called 'Work Flow Language' (WFL, or as everyone called it 'wiffle'). I wrote a lot of that in the mid 80s.

      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

        F Offline
        F Offline
        Floydslips
        wrote on last edited by
        #118

        I still write an occasional batch file, although I use the newer .CMD file extension. For more advanced needs, I rely on WinBatch.

        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

          C Offline
          C Offline
          Conan Callen
          wrote on last edited by
          #119

          Whateva does the job. My favorite has always been Kornshell. Powershell is cool, but seems to lack the elegance of some of the Unix Shells. .bat files are quick and easy, take very little setup/configuration. However, I emphisize with younger programmers, who want to use something new, or improve make thier skill set more competitive. Just remember that if you dont want to box yourself in (kill any oportunity for promotion), dont make it so complex that someone will never be albe to replace you.

          1 Reply Last reply
          0
          • P Pete OHanlon

            I have been known to write the odd .bat file, as well as PowerShell scripts.

            *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

            "Mind bleach! Send me mind bleach!" - Nagy Vilmos

            My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

            D Offline
            D Offline
            Derek Altamirano
            wrote on last edited by
            #120

            I still use .cmd files quite a bit (haven't done .bat's since moving to NT; I still use the term batch file, though I think the proper term for a .cmd is command file :-D). Although I am learning to use PowerShell more, I can still usually whip out a batch file much quicker, depending on what I am doing, though I expect that will change as I become more fluent in PS. I have written some pretty neat and complex batch scripts in recent years (man do I love that for command!).

            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

              G Offline
              G Offline
              galumpa
              wrote on last edited by
              #121

              I'm 4 years out of the university and have only used a .bat file recently when I switched companies. Previously I used shell scripts.

              L 1 Reply Last reply
              0
              • R richard_k

                Heh.. first job at a large computer firm I had was writing job decks and algol programs at Unisys. With punch cards! Cards were on their way out when I did this.. but you could still find folks with large card decks on their desks.

                E Offline
                E Offline
                Earl Truss
                wrote on last edited by
                #122

                My first real program in my first real programming job was written in CDC 6000 assembler on two boxes of cards. I try to forget how I would have to make corrections to the cards and then read them back in again to test it. Oh, and yes, I still have a few BAT files that are in use. Don't write very many new ones much any more.

                1 Reply Last reply
                0
                • S Steven M Hunt

                  Same here, I'm a young guy and I just wrapped up writing some serious bat files to replace the old mainframe JCL we had hanging around; the government agency I work for (hint: we sent people to the Moon that one time) just turned off our last mainframe this month. -- Steven

                  E Offline
                  E Offline
                  Earl Truss
                  wrote on last edited by
                  #123

                  Steven.M.Hunt wrote:

                  the government agency I work for (hint: we sent people to the Moon that one time) just turned off our last mainframe this month

                  I read about that. That was an IBM wasn't it? I used to work in Range Safety at the Cape on CDC Cyber 8xx-somethings. Are there any mainframes still use in the guv'ment any where?

                  S 1 Reply Last reply
                  0
                  • E Earl Truss

                    Steven.M.Hunt wrote:

                    the government agency I work for (hint: we sent people to the Moon that one time) just turned off our last mainframe this month

                    I read about that. That was an IBM wasn't it? I used to work in Range Safety at the Cape on CDC Cyber 8xx-somethings. Are there any mainframes still use in the guv'ment any where?

                    S Offline
                    S Offline
                    Steven M Hunt
                    wrote on last edited by
                    #124

                    Yes we had IBMs, and we had ADABASE and NATURAL running on them. I'm not sure if there are any other agencies running them still, but I wouldn't be surprised if they are still out there. We haven't had any running here at the Cape for a while, but the last ones to get turned off were up in Huntsville. -- Steven

                    1 Reply Last reply
                    0
                    • G galumpa

                      I'm 4 years out of the university and have only used a .bat file recently when I switched companies. Previously I used shell scripts.

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

                      Hey, Don't I know you? :) /invis;goto 10 500 516 500;slay auct

                      G 1 Reply Last reply
                      0
                      • L Lost User

                        Hey, Don't I know you? :) /invis;goto 10 500 516 500;slay auct

                        G Offline
                        G Offline
                        galumpa
                        wrote on last edited by
                        #126

                        Of course ;) and that is the script to slay the Auctioneer! hahaha I remember that!

                        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

                          C Offline
                          C Offline
                          cpkilekofp
                          wrote on last edited by
                          #127

                          I write .cmd files for use in SQL Server jobs, very useful for moving files back and forth and for calling bcp to force bulk imports into a process other than SQL Server (odd how that must work, but "the documentation says so so it must be true." ;)

                          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

                            C Offline
                            C Offline
                            ClockMeister
                            wrote on last edited by
                            #128

                            I don't write many but do occasionally still use it. -Max

                            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

                              C Offline
                              C Offline
                              ClockMeister
                              wrote on last edited by
                              #129

                              Dalek Dave wrote:

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

                              OK, since he's not here then I'll tell you. I used to write FORTRAN IV programs when at GA Tech back in 1976. We used IBM 029 and 026 keypunch units to build our deck which we then fed into a Cyber-74 for compile/run. The output would come out 10 to 30 minutes later on the express printer in the other room. Lather, rinse and repeat. -Max :)

                              1 Reply Last reply
                              0
                              • R richard_k

                                Heh.. first job at a large computer firm I had was writing job decks and algol programs at Unisys. With punch cards! Cards were on their way out when I did this.. but you could still find folks with large card decks on their desks.

                                L Offline
                                L Offline
                                Lauren Lilly
                                wrote on last edited by
                                #130

                                Now I feel old. My first job was purely punch cards. (1977 Burroughs minicomputers)

                                1 Reply Last reply
                                0
                                • D Dalek Dave

                                  Yes Pete, but alas you are venerable and aged, like me. I bet them young whippersnappers don't!

                                  --------------------------------- 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

                                  M Offline
                                  M Offline
                                  msvbdev
                                  wrote on last edited by
                                  #131

                                  I'm 16 and I still like the command-line better than GUIs for a lot of things :) I don't know how to do some of the advanced shell programming things, but I do write .BATs for efficiency (for example, cding to very long directories to execute programs with complicated arguments)

                                  1 Reply Last reply
                                  0
                                  • D Dalek Dave

                                    Yes Pete, but alas you are venerable and aged, like me. I bet them young whippersnappers don't!

                                    --------------------------------- 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

                                    R Offline
                                    R Offline
                                    Redsn0w10
                                    wrote on last edited by
                                    #132

                                    Dalek, I'm only 14 and I use Batch files. I actually want to use MS-DOS in a virtual machine. Justin

                                    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

                                      F Offline
                                      F Offline
                                      fjancic
                                      wrote on last edited by
                                      #133

                                      Automating repetitive tasks like running update sql scripts on several network instances or updating backups and ftp servers. They are flexible and quick to write and use.

                                      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

                                        S Offline
                                        S Offline
                                        SenseiJae
                                        wrote on last edited by
                                        #134

                                        I occasionally will throw one down to automate a tedious task. Awesome skill to have.

                                        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

                                          4 Offline
                                          4 Offline
                                          48kGeneration
                                          wrote on last edited by
                                          #135

                                          I do, and it is still very usefull. When things go "wrong", there is nothing like a command prompt and some .bat files to fix things fast. :) Long live the knowledge!

                                          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