The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I'm shameless .bat user. In fact I just edited one of my script this morning. I have repetitive mundane work and I write a batch file to do the work for me.
Some of the tasks I do with batch files
- Compare my local source code against source control
- Get/Refresh latest code from source code
- Build projects and solutions
- Compare a number of folders I regularly touch.
- Check who is logged on to which shared servers
The list goes on and on. It saves me a lot of time using .bat files instead of typing commands and/or clicking.
I am not a proper programmer like most here, I just do what I can to make my life easier.
Fortunately on those occasions when I have run into a brick wall (ie found the circumference of ignorance as far as coding goes) I utilise the gestaltic mind of the CP community to help solve my problems.
I also prefer to use the stuff I do know, such as opening a command shell and calling a BAT file because I am within my comfort zone with such venerable practises!
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur.
An old boss of mine - who was clueless when it came to IT even though he was "Director of IT" - had read how .BAT files were old technology, "a thing of the past", so instructed me to no longer make or support any .BAT files for any of our essential operations. I told him the change away from .BAT files would be a big job, and was about to point out what a waste of time it would be when he interrupted. He was adamant that he knew better than I what was needed and that I should just "get on with it as a top priority". He gave me three weeks to get it all done. This deadline was, of course, completely arbitrary as usual. I hadn't told him how long it would take and he hadn't asked.
I had some sudden inspiration and agreed to the three week deadline but warned him that I would need to concentrate on just this task and nothing else, I was not be disturbed and I might just make it. He readily agreed since I normally fought him on his arbitrary deadlines and went away happy - he issued instructions to the rest of the staff that I was working on a vital change and was not to be disturbed...
I spent a couple of hours going through all the .BAT files (about 100) and renaming them to .CMD files and testing them. Then I had three weeks of undisturbed peace and quiet to get caught up on a couple of other projects to which he had given equally unrealistic deadlines. I wished I had pushed for four or five weeks - he would probably have agreed to it!
- I would love to change the world, but they won’t give me the source code.
1980's? You mean building basic programmes on Commodore Pets, women and flying? And more flying? Because it was a requirement to learn FLYING at Cranfield in those days?
Count me in. Maybe more big-haired women this time though.
Do You Want To Be A Hero?
Not quite as old as a 5 1/4, but I did dig out a zip drive to see if there was anything useful on a collection of old backups that I found lurking in the depths of the garage. Very painful process trying to get it to work with a win 7 machine so I ended up grabbing an old win 2k machine that was also lurking in the garage - all just to check on old data.
Don't deprecate your work. I use more or less daily a .dat file to copy .dll files after compiling my programs in VB.Net 2003. I'm proud that I could make the file because it avoids a lot of manual copy file work and frustrations when I forgot copying the files before start testing my changes.
If Kanye West and Kim Kardashian were both drowning and you only had time to save one, what kind of sandwich would you make?
I just wish the elephanting wind and rain would stop, I haven't known such a persistent period of bad weather to batter these shores for such a long time. At least we aren't getting it as bad as some places. Well, we maybe are, but we are used to it
I really just wish it would get a few Deg C colder so that the rain will turn to snow like it should be!
Oh, and for those back to work today, nae luck, at least it will nearly be time to go home. My kiddiewinkles go back to school tomorrow and the wife goes back to work. I might make an appearance in the office this week, but more likely go back on Monday, then offshore to my new platform on the Wednesday.
In the meantime, I am battling with 3 wii remotes that aren't working, they left them so long the batteries leaked inside. So with new batteries in, they only partially work. Strip down and clean up will hopefully do the trick, but they use some stupid screw head, so opening them might be a challenge!
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt