![]() |
Geek bragging
I just dusted off an old Windows batch script for some network testing. I'm damned proud of this thing.
WARNING - geektastic detail ahead, will only be of interest to...well, probably no one but me. Here are the triumphs of this script: 1. It calls itself recursively 2. Each recursive call launches its own process and cmd instance 3. using log files I track data across cmd instances 4. I implemented a spin lock to control log file access Yeah, I said batch. Bitches. |
nice.
|
Hmm, I take it back. In going through and cleaning up comments, I realize that it isn't truly recursive. The script does call itself, but it calls a self-contained chunk of the code that runs discretely with each call, no real recursion. Still a nifty bit of control flow work if I do say so myself.
|
blah blah blah snowflake
blah blah blah blah Good job GD, whatever it means. |
I'm happy that you're happy, GD!
:) |
All times are GMT -7. The time now is 08:02 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.