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

    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

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #5

    Right: we young people just write a bunch of shell scripts or awk ones.

    Veni, vidi, vici.

    P S 2 Replies 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

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #6

      Like Pete, I use some bat files, but power shell is the way to go.


      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

      P 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

        E Offline
        E Offline
        Espen Harlinn
        wrote on last edited by
        #7

        Happens every once in a while ...

        Espen Harlinn Senior Architect, Software - Goodtech Projects & Services My LinkedIn Profile

        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

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

          Mostly when I write C programs for old 8 bit computers. The BAT then is a kind of simple makefile (another thing the youngsters usually don't know anything about) and also handles the deployment of the compiled program to the emulator(s).

          I'm invincible, I can't be vinced

          Mike HankeyM 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
            scottgp
            wrote on last edited by
            #9

            I still do. Had to write a couple recently in fact. Scott

            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
              CarelAgain
              wrote on last edited by
              #10

              we do and without them we would not exist so as for us they are still an important assett

              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

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

                Moi

                Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns

                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

                  M Offline
                  M Offline
                  Manfred Rudolf Bihy
                  wrote on last edited by
                  #12

                  Our team and myself as well write cmd files which should be about the same thing as bat files as far as I'm concerned. We use the stuff on our FAST servers to do operations automation. Cheers!

                  "With sufficient thrust, pigs fly just fine."

                  Ross Callon, The Twelve Networking Truths, RFC1925

                  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

                    W Offline
                    W Offline
                    W Balboos GHB
                    wrote on last edited by
                    #13

                    Still used around here for some server-to-client installs. In fact, it's even to be used for a one-shot dumb update. They do what they're supposed to do and are easy to write.

                    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                    "As far as we know, our computer has never had an undetected error." - Weisert

                    "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                    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

                      Mike HankeyM Offline
                      Mike HankeyM Offline
                      Mike Hankey
                      wrote on last edited by
                      #14

                      Dalek Dave wrote:

                      Who (apart from my good self) still writes .bat files?

                      I stray occasionally.

                      VS2010/AVR Studio 5.0 ToDo Manager Extension

                      1 Reply Last reply
                      0
                      • L Lost User

                        Mostly when I write C programs for old 8 bit computers. The BAT then is a kind of simple makefile (another thing the youngsters usually don't know anything about) and also handles the deployment of the compiled program to the emulator(s).

                        I'm invincible, I can't be vinced

                        Mike HankeyM Offline
                        Mike HankeyM Offline
                        Mike Hankey
                        wrote on last edited by
                        #15

                        I've been using the make file that gets automagically created by the AVRStudio 5.1 but am looking to tweek, or just generally learn more about them. I googled quite a bit but have not found any good tutorials any sugs?

                        VS2010/AVR Studio 5.0 ToDo Manager Extension

                        L 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

                          R Offline
                          R Offline
                          RugbyLeague
                          wrote on last edited by
                          #16

                          I write Windows services which run .Bat files :-O

                          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

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

                            What's odd about them?

                            MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

                            P 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

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

                              I write the odd one now and agian, well cmd files anyway, I tend to use a few that I keep around more than writing me ones though - like moving large numbers of files around and renaming etc. Right tool for the right job, as my father used to say. Not sure I liked it that he called me a tool, but there you go.

                              MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

                              D 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

                                P Offline
                                P Offline
                                Pete OHanlon
                                wrote on last edited by
                                #19

                                I prefer to think that we are seasoned and debonairre.

                                *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 1 Reply Last reply
                                0
                                • P Pete OHanlon

                                  I prefer to think that we are seasoned and debonairre.

                                  *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
                                  Dalek Dave
                                  wrote on last edited by
                                  #20

                                  You're Hired!

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

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    I write the odd one now and agian, well cmd files anyway, I tend to use a few that I keep around more than writing me ones though - like moving large numbers of files around and renaming etc. Right tool for the right job, as my father used to say. Not sure I liked it that he called me a tool, but there you go.

                                    MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

                                    D Offline
                                    D Offline
                                    Dalek Dave
                                    wrote on last edited by
                                    #21

                                    _Maxxx_ wrote:

                                    Not sure I liked it that he called me a tool, but there you go.

                                    :-D

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

                                    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

                                      T Offline
                                      T Offline
                                      Tim Groven
                                      wrote on last edited by
                                      #22

                                      I don't by choice, but have to at work to support old code that uses them, and code from another company that uses them.

                                      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
                                        Simon_Whale
                                        wrote on last edited by
                                        #23

                                        I've used it twice last year, took me a while to remember how to pass arguments in though.

                                        Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

                                        D 1 Reply Last reply
                                        0
                                        • Mike HankeyM Mike Hankey

                                          I've been using the make file that gets automagically created by the AVRStudio 5.1 but am looking to tweek, or just generally learn more about them. I googled quite a bit but have not found any good tutorials any sugs?

                                          VS2010/AVR Studio 5.0 ToDo Manager Extension

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

                                          A makefile is nothing more than a batch file with a command line to call the compiler for each source file, then one or more command lines calling the linker and perhaps some commands to deploy or copy the results. An IDE usually lets you edit all kinds of compiler and linker options and then generates the makefile from the contents of your project and those options. Or you can simply write the makefile yourself with any simple editor like wordpad. You just have to know how to call the compiler and linker and what options and parameters your compiler needs or supports. It's just like writing command lines in the console. The makefile only saves you from typing all this every time you want to build your project. I guess, all this should be documented in the compiler's and linker's documentation. Edit: Usually the compiler includes some tool to process the makefile. My simple C compiler for old 8 bit machines does not, so I use plain vanilla .BAT files, which does not really make much of a difference. Whenever I want to build my project, I simply call something like 'make.bat' at the command line and look what kind of results I get in the in the console. Edit^2: I just dug this[^] out in MSDN. It describes how to build from the command line with makefiles and NMAKE. NMAKE is a little more powerful than a simple batch and the commands are not simple command lines anymore, but it's still very much the same idea.

                                          I'm invincible, I can't be vinced

                                          Mike HankeyM G 2 Replies 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