|
Rarely I do, yes. But I don't bat an eye when I have to.
.....................
Life is too shor
|
|
|
|
|
Funny you should ask, I didn't write any but I got my new desktop this morning, and and used a couple to set up some of my complier envirionments.
And I used the one to show hidden devices in the device manager to clean the crud out.
It was broke, so I fixed it.
|
|
|
|
|
Yes, I keep modifying my "Autoexec.bat". And my "Config.sys".
|
|
|
|
|
He he - list of files in the current directory ? Nothing quicker than:
dir /b >> list.txt
|
|
|
|
|
Dalek Dave wrote: Who (apart from my good self) still writes .bat files?
I do from time to time. Some things, never die.
"the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011) "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)
"It is the celestial scrotum of good luck!" - Nagy Vilmos (2011)
|
|
|
|
|
I generally only use them for trivial things, otherwise I'll write a short command line C# tool. I like the security of using a real language, and the .Net Framework's always in memory on my machine anyway so execution time is trivial.
|
|
|
|
|
We do, for automating lots of things. Setting up development environments, client installations/deployments. That old bats will not die for a while.
|
|
|
|
|
All the time ... started calling them .cmd a couple of year ago 
|
|
|
|
|
I usually prefer using .bat files to do repetitive and trivial things.
Btw, shouldn't this post be titled "Scripting question"?
|
|
|
|
|
You make a good point!
---------------------------------
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 write them on occasion. Then again I too am an "old fogy". 
|
|
|
|
|
Dalek Dave wrote: Who (apart from my good self) still writes .bat files?
I do, but only basic stuff
|
|
|
|
|
DOS stuff, not Basic stuff surely
---------------------------------
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'm BATman!
I still do it DD! and they work nice... truly I've always found it confusing to fiddle with vbs...
|
|
|
|
|
I use them for moving a large number of files when working on version control...
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I do so occasionally using GNU utilities for Windows (UnxUtils).
|
|
|
|
|
I call them .cmd files but I use them a lot.
Alberto Bar-Noy
---------------
“The city’s central computer told you? R2D2, you know better than to trust a strange computer!”
(C3PO)
|
|
|
|
|
Not for a good long while, anything more than a directory listing and I write a program.
|
|
|
|
|
Indubitably. And I still spend most of my day in a DOS box.
|
|
|
|
|
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
|
|
|
|
|
.bat files + the scheduler in later versions of windows is perfect for a lot of tasks..
|
|
|
|
|
Working on one right now actually. They use em at my new job, but in all fairness, there is a lot of batch processing being done.
"I have a theory that the truth is never told during the nine-to-five hours. "
— Hunter S. Thompson
|
|
|
|
|
If I have a small repetative task I'll whip up a cmd file. Why not? Simple is best.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
I have been known to write one or two. and I have not been in the IT business all that long..they just have their uses and if it aint broke, don't fix it.
It used to be what you know that got you ahead, then it was who you know, now its what you know about who you know that gets you ahead.
Be careful which toes you step on today, they might be connected to the foot that kicks your butt tomorrow.
You can't scare me, I have children.
|
|
|
|
|
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).
|
|
|
|