Programming Question
-
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
I do, but I'm from fogey land just like you. To date I've written in bash, Korn shell, sh, .bat for windows, perl, etc.. just so much.. and that is just the scripting I've done (less than 1% of my total time at my job). At one time I knew all the intricacies.. but that is going on 15 years ago now.. my current most used would be bash... but I still find cause to occasionally write a short .bat script for automation of compilations, etc. (just last year actually).
-
Dalek Dave wrote:
Who (apart from my good self) still writes .bat files?
I do. In some ways, they can't be beat.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
-
Heck, I was writing Unix scripts before you were born.
*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
-
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
At my current job I'm having to alot of "bridging" work between .NET and a couple of Linux servers running MySQL, PHP and java. Believe you me in order to accomplish this I have to pull out all sorts of old tricks from up my sleeve: .bat files, PowerShell, bash scripts, baling wire and spit - everything short of polling some mounted volume on a mainframe at regular intervals to pickup some "flag file" that gets left there! WCF? P'shaw :laugh:
"... having only that moment finished a vigorous game of Wiff-Waff and eaten a tartiflet." - Henry Minute "...who gives a tinker's cuss?" - Dalek Dave "Let's face it, after Monday and Tuesday, even the calendar says WTF!" - gavindon It's plain that they do not yet know what true fear really is. - JSOP 2011
-
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
-
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
i do. shell scripts, and VBS scripts and .JS scripts, too. whatever it takes.
-
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
I wrote and used one just yesterday - to compare the differences between two different project source file directories :thumbsup: I almost always have one or more cmd windows open on my desktop.
Steve _________________ I C(++) therefore I am
-
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
I use .bat files sometimes. Usually when I am writing a java program over the course of several shutdowns and startups and unexpected crashes (not too often), and don't want to type the compile and run commands over and over and over and over and over and ... well, you get the idea.
C#: public void GetOffOfTheComputer(){ throw new System.NotImplementedException(); } VB: Public Sub GetOffTheComputer() Throw New NotImplementedException() End Sub
-
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
Been there, do that fairly regularly. Our automated build process is a combination of an MFC GUI front end, a VBScript script, several batch files, and our tool chain (Visual Studio, Inno Setup, Nero, etc.). The batch files are useful for redirecting output to build logs. It sounds horrible, but it's a case of applying the right tool for each job in the process. I also use batch files for a number of administrative things, scheduled tasks, and so on.
Software Zen:
delete this;
-
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
There are lot :) Mostly to copy files from FTP
-
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
Me too have adopted powershell. It's funny that my first fun with computers started with batch files.. It's also funny how I came to computer science growing up in a remote country side area where a computer was not available within the perimeter of 7 km. I collected a book of norton which introduced me to computers.. I was just imagining how computers look like.. how different components work and how I will deal with this magnificent invention if I stand face to face. :) A year later I bought a book of DOS and my .bat started.
-
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
I do sometimes. When you want to push out a few commands to a batch of XP PC's through LogMeIn Central it's hard to beat a .bat file for ease, simplicity and compatability(powershell not always installed).
-
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
I still find use and write one once a week or so just on my dev machine. I use powershell on the servers.
-
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
I still use them as part of scripting the installation builder process. (That process also uses Shell Scripts on Linux and Mac, ANT and - this is really shameful ;) - NSIS) I've learned a lot of magic about .bat files that I never expected them to be able to do!
-
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
I still use them because I couldn't be bothered (win32) to get eclipse to find the FLTK libraries to build under mingw/GCC so I wrote a build script, as I might in Bash under linux so every time I add a source, I have to add a another line and add entry to linker
-
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
Three days ago. Batch file to delete WoW cache before starting the game. End of last month - batch file for running my entry into Facebook Hacker Cup (failed!) <----- Geek!
-
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
Writing them for a current job. I had to re-learn some things. Although I'm using the cmd extension instead of .bat. There is a need to use something that acts as glue in a complex system. In this case it had to be something that would be easy to describe in documentation to people downstream and that I could be sure would work in all the places I need it. Some of them are run from inside of T-SQL. Others are run on schedule. I have one that monitors a set of internal web sites and looks for key words to see if they are up or not. Another that's looking for a change in a particular directory. Supposedly I'll figure out how to do all this with power shell one day but for now I'm using batch files.
_____________________________ Give a man a mug, he drinks for a day. Teach a man to mug... The difference between an ostrich and the average voter is where they stick their heads.
-
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
still using it ^^
-
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
-
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