2006 and we still can't solve the sleep problem...



  • @MasterPlanSoftware said:

    Why don't you show us this highly important batch file that cannot be written without a sleep and HAS to be in a batch file?

    I don't know, I think batch files are pretty useful for administering a domain. Actually, I'd be interested to see if things like Windows CE had the sleep command. Full-fledged programming languages aren't always available, you know.



  •  @Cap'n Steve said:

    @MasterPlanSoftware said:
    Why don't you show us this highly important batch file that cannot be written without a sleep and HAS to be in a batch file?

    I don't know, I think batch files are pretty useful for administering a domain. Actually, I'd be interested to see if things like Windows CE had the sleep command. Full-fledged programming languages aren't always available, you know.

    No one is saying batch files don't have their use. But again, if your batch file has to continually poll and sleep, you might be approaching the end of where a batch file is useful.

     

    "Goddamnit! Why doesn't QBASIC have OO support?? Geez! QBASIC sucks!"

    No it doesn't, it just isn't the right tool for the job apparently. 

    And in this case, the OO support is freely and easily available and could be found with a quick google search. Still doesn't mean it is the right tool for the job though. 

     

    And I would still love to see the batch file. I bet it is a doozy.



  • @MasterPlanSoftware said:

    No one is saying batch files don't have their use. But again, if your batch file has to continually poll and sleep, you might be approaching the end of where a batch file is useful.

     

    "Goddamnit! Why doesn't QBASIC have OO support?? Geez! QBASIC sucks!"

    No it doesn't, it just isn't the right tool for the job apparently. 

    And in this case, the OO support is freely and easily available and could be found with a quick google search. Still doesn't mean it is the right tool for the job though.

     

    To be fair, the Windows command shell "replacement" 4NT (formerly 4DOS) has a "DELAY" command.  Obviously there is a market for people who feel the Windows NT command shell doesn't deliver all the goods.  Even Microsoft has recognized this, by releasing Monad/Powershell.

    Obviously 4NT is not for everyone, as it is a non-free, proprietary solution.  (Indeed 4NT batch files are not 100% compatible with 4DOS batch files, for those who migrated from 4DOS on Windows 9x to 4NT on NT/2000/XP).

    @4NT Help - DELAY said:

     DELAY is useful in batch file loops while waiting for something to occur. For example, to wait for 10 seconds:

     delay 10

     

    DELAY is most useful when you need to wait a specific amount of time for an external event, or check a system condition periodically. For example, this batch file checks the battery status (as reported by your Advanced Power Management drivers) every 15 seconds, and gives a warning when battery life falls below 30%:

    do forever

      iff %_apmlife lt 30 then

         beep 440 4 880 4 440 4 880 4

         echo Low Battery!!

      endiff

      delay 15

    enddo

     

     I do believe for the 1%-10% of power users who are unhappy with Windows functionality out-of-the-box regarding batch files, there are numerous free or proprietary solutions.  (e.g. Powershell, Win2k3 reskit, 4NT, gnu Win32 ports, etc.)  So I don't know if there's really too much grounds for complaint here.

     OTOH, I have personally witnessed certain NT/2000/XP batch functionality which is slightly broken - e.g. using the "new" (in NT) bracket syntax for multi-line IF/ELSE statements has certain subtle problems.  So I am not surprised that some would complain about NT batch files and wish for a better command shell.

    http://www.ss64.com/ntsyntax/brackets.html 

    The IF statement does not use any great intelligence when evaluating Brackets, so for example the command below will fail:

    IF EXIST MyFile.txt (ECHO Some(more)Potatoes)

    This version will work:

    IF EXIST MyFile.txt (ECHO Some[more]Potatoes)

     

    A colleague ran into a more subtle problem with a production batch file, which escapes me at the moment.  The solution was to rewrite the multi-line if-statements to single-line if-statements with gotos - *shudder*. 

    Just my 0.000000002 cents.

     
    (BTW, 4NT is now integrated with the "Take Command" product, for anyone who is interested.)



  • @MasterPlanSoftware said:

     @Morbii said:

    ...

    Feel free to stay out of the discussion. You never have anything to contribute. 

     

    Which is much better than your fetish for contibuting uselessness.



  • @Morbii said:

    Which is much better than your fetish for contibuting uselessness.
     

    Which is exactly what you are doing... Whoa.

    Run along, let the adults talk now.



  • @CodeSimian said:

    ...a bunch of text... 

    I don't think it's a big secret that cmd.exe is pretty limited.  That's why Microsoft includes tons of additional scripting options.  As I recall, the cacls.exe program in Win2k doesn't support modifying all ACL permissions for an object.  That's why Microsoft offers xcacls.vbs, which is a free script for modifying all the permissions.  A quick download and you're on your way.  Linux doesn't even support ACLs out-of-the box.  Bash doesn't support every feature that ksh does and perl/PHP/Python are even more powerful.  The point is, use the right tool for the job.  I never understand when people complain about Microsoft products being expensive, either.  When I was a student I expressed an interest in Win2k3 and Microsoft sent me a free one year "trial" of Win2k3 that could be reactivated as many times as you wanted.  They also sent me a full version of Visual Studio (the first version to integrate .NET, I think) and about $150 worth of Microsoft press books on using ASP.NET, Win2k3 and SQL Server.  Try spending 8 hours troubleshooting why your fucking kernel won't compile because Linus thought it was a good idea to deprecate a large portion of the driver API, then tell me Linux is "cheaper".  As jwz said, it's only free if your time is worthless.

     

    Of course, I use the latest kernel.org sources so I experience a little more pain than most people, but when you're talking about running a 300 server web farm a 5% performance increase from rolling your own kernel can be worth $100k in hardware costs.  I seriously wish I used the Microsoft stack sometimes, because it seems most MS devs just shut the fuck up and build stuff instead of spending all of their time complaining on message boards.  Also, nearly every self-righteous Linux user I've known has been rooted at least once, proving yet again that it's not the underlying OS, it's your ability to stay current on patches that matters.



  • @morbiuswilters said:

    ...big block of text that amounts to a personal rant....

     

    But to be fair, CodeSimian should not have been the target of that rant. His post was articulate, and well formatted. He also was not arguing against your opinion, and did a great job arguing FOR your opinion...

     

    Just had to throw some credit where credit is due. Good post CodeSimian.



  • @MasterPlanSoftware said:

    @morbiuswilters said:

    ...big block of text that amounts to a personal rant....

     

    But to be fair, CodeSimian should not have been the target of that rant. His post was articulate, and well formatted. He also was not arguing against your opinion, and did a great job arguing FOR your opinion...

     

    Just had to throw some credit where credit is due. Good post CodeSimian.

    Yeah, I think I might have been replying to the wrong post or I might have misunderstood what CodeSimian was saying.  After re-reading it, his response seems pretty reasonable.  In my defense, I've had several beers and I'm continually confronted by Linux/Mac users who think they're platform is so freakin' superior.  To paraphrase somebody far wiser than me whose name I can't remember: "If you can't name five things you hate about your favorite platform, you haven't really mastered it." 



  • @morbiuswilters said:

    Yeah, I think I might have been replying to the wrong post or I might have misunderstood what CodeSimian was saying.  After re-reading it, his response seems pretty reasonable.  In my defense, I've had several beers and I'm continually confronted by Linux/Mac users who think they're platform is so freakin' superior.  To paraphrase somebody far wiser than me whose name I can't remember: "If you can't name five things you hate about your favorite platform, you haven't really mastered it." 
     

    You don't have to explain it to me... I cannot stand dlikhten (+ several others) and his [their] constant MS bashing via ignorant posts. Valid complaints, hey thats cool, I can list lots of things I hate about OSX, Linux and Windows. The difference is I try not to slander them with false forum posts every chance I get.

    And this subject is just plain false.



  • @Morbii said:

    ...

    Agreed.



  • @poopdeville said:

    @Morbii said:

    ...

    Agreed.

     

    I need the attention, but you are the one who has to keep adding tag snipes to a thread other people are using?

    Interesting.



  • @morbiuswilters said:

    Yeah, I think I might have been replying to the wrong post or I might have misunderstood what CodeSimian was saying.  After re-reading it, his response seems pretty reasonable.  In my defense, I've had several beers and I'm continually confronted by Linux/Mac users who think they're platform is so freakin' superior.  To paraphrase somebody far wiser than me whose name I can't remember: "If you can't name five things you hate about your favorite platform, you haven't really mastered it." 

     

    I never used Mac so I can't comment.

    For linux, I can come up with quite a few. For starters I never had dependency hell in windows like I have in linux's package managers (sure they automate but theres a limit). Don't think I believe that linux is THE os to use, hell I tried switching to linux (i had that smug attitude for a time) but I quickly realized there no chance in hell I could teach my wife how to use linux caz everytime i need to do anything SLIGHTLY complex its go to google, run this script, do this, open this gui, install this package, run this script, and then hope it works for your version... Sure I'll do it but user-friendly? i think not.



  • @dlikhten said:

    I never used Mac so I can't comment.

    Apple uses quite a few interface conventions that differ from Windows and the Linux GUIs.  Many of them just seem to be out of pig-headedness.  Many apps are clever and shiny, but they lack many essential features as well.  MS gets bashed for its bloatware, but most of the features in their software are useful to someone somewhere.  Macs are locked down to hell and back, far more restricted than MS machines.  The OS is subsidized by the overpriced hardware which acts a dongle.  I find that a tad annoying.  I also thing Mac users are far too smug.

     

    @dlikhten said:

    For linux, I can come up with quite a few. For starters I never had dependency hell in windows like I have in linux's package managers (sure they automate but theres a limit). Don't think I believe that linux is THE os to use, hell I tried switching to linux (i had that smug attitude for a time) but I quickly realized there no chance in hell I could teach my wife how to use linux caz everytime i need to do anything SLIGHTLY complex its go to google, run this script, do this, open this gui, install this package, run this script, and then hope it works for your version... Sure I'll do it but user-friendly? i think not.

    Linux is an unholy fucking nightmare and it's supposed to be.  The kernel and system libraries continually break binary compatibility which is why binary distros end up in package manager hell so frequently.  It also fucks over binary drivers.  This is intentional, to prevent proprietary binary software from linking too closely with the kernel or system libs.  It also allows Linux to enjoy very rapid development cycles because the kernel maintainers don't give a shit if they ruin your life.  The upside is that new features come out fast and new techniques are quickly integrated.  It's also possible to build a very fast, light kernel with only the features you need.  When stuff breaks, you can trace it all the way down, assuming you have a good understanding of UNIX, C and the Linux kernel.  It also helps to have no social life to speak of or to be employed by somebody who is willing to pay for it.  Stuff breaks far more frequently on Linux than on Windows, but because you have access to all the source, you never end up with bugs you can't quite track down, once again assuming you are willing to do the footwork.

     

    I'm usually amused by people wanting to replace Windows with Linux.  If you're just looking for a good GUI, stick with Windows.  I don't want a lot of desktop users on Linux as it means it will increasingly be targeted by viruses, etc..   And there is nothing in Linux that makes it inherently safer than Windows, it's just that nobody is going to be bothered to write a virus for Linux and there aren't a lot of grannies who will open any attachment using Linux.  I also don't want desktop considerations to start affecting the direction of kernel and library development.  I am more interested in features that improve the speed of server software.  I use Linux on the desktop because it keeps me more in touch with the platform and because I am deeply interested in kernel development.  Then again, my GUI is xfce and it's about as pretty and feature-rich as Windows 95.  My only IDE is vim, so I'm pretty hardcore when it comes to this stuff.  YMMV.



  • @MasterPlanSoftware said:

    @Morbii said:

    Which is much better than your fetish for contibuting uselessness.
     

    Which is exactly what you are doing... Whoa.

    Run along, let the adults talk now.

     

    ARE CHILDREN ALLOWED TO SAY THAT?  ARE THEY?  ARE THEY? ARE THEY?



  • <agree>

    @morbiuswilters said:

    ...apple mumbo jumbo...

    Apple's biggest asset is the fact that they support only THEIR hardware specs. They don't need 3rd party driver support. So they can test their software and drivers in ways MS can never hope to do. The down side is that asside from buying Mac OS (if you want to upgrade) their hardware cost about 1.5 - 2 times the price of their "PC" equivelent. The comp I have at home would cost 3000 (no monitor) vs 1200 (with monitor) for same specs from mac. And if I REALLY try I can probly install mac on my pc :)

    </agree>

     <agree>

    @morbiuswilters said:

    ...linux mumbo jumbo...

    With linux, most the time I question why don't developers pack the open-source distro snapshots of certain libraries (lets say not GTK but w/e small crap they need) and who cares if I download 2x the data to install my programs. I rather have a bigger harddrive then the massive maintenance.

    In any case I just made a point a while ago that I would love to develop in linux caz I don't run into this MS crap with batch scripts, among other things. But from a useability point of view, linux sucks donkey nuts! Its getting better within the last year or 2, but it has a long way to go.

    </agree>



  • @Morbii said:

    @MasterAsshatSoftware said:

    Which is exactly what you are doing... Whoa.

    Run along, let the adults talk now.

    ARE CHILDREN ALLOWED TO SAY THAT?  ARE THEY?  ARE THEY? ARE THEY?

     

    He just does that when people prove him wrong. Whats that asshat? Oh let the adults talk? why don't you just sit in your corner!



  • @dlikhten said:

    I don't run into this MS crap with batch scripts
     

    What 'MS crap'? You have been proven wrong a couple of times here. Stop presenting false information.



  • @dlikhten said:

     

    He just does that when people prove him wrong. Whats that asshat? Oh let the adults talk? why don't you just sit in your corner!

     

    Right. You are one to talk here. You do nothing but spout ridiculous FUD, that you can never back up. You write like a retarded teenager on crack.

    Also, where was I proven wrong here? Oh yeah thats right, that was you.

    So we have our troll list: dlikhten, morbii and poopdeville...



  • @Morbii said:

    ...a thousand monkies working a thousand years could not replicate the elegance demonstrated herein...

    You sully the first five letters of my good name, sir!  Since I am smarter, more handsome, wealthier and less homeless than you, I put forth the suggestion that you change to a name more fitting for you. 



  • @MasterPlanSoftware said:

    ...

     

    Well we do learn from the MASTER -- Master Asshat that is.



  • @dlikhten said:

    Well we do learn from the MASTER -- Master Asshat that is.

     

    Oh noes! You gonna hurt me feelings!!!!1!!!

     

    Seriously, grow up.



  • @morbiuswilters said:

    ...a thousand monkies working a thousand years could not replicate the elegance demonstrated herein...

    Thanks for the kind words; fighting with mentally disabled people is fun.



  • @Morbii said:

    Thanks for the kind words; fighting with mentally disabled people is fun.
     

    Interesting when coming from someone who follows me around trolling, and half their posts consist of troll attempts with the same mannerism.

     

    Funny that one troll had to make two usernames to flame me.... Lysis and Morbii.  That is sad. But maybe I should feel flattered that I am worth so much attention?



  • @MasterPlanSoftware said:

    @Morbii said:

    Thanks for the kind words; fighting with mentally disabled people is fun.
     

    Interesting when coming from someone who follows me around trolling, and half their posts consist of troll attempts with the same mannerism.

     

    Funny that one troll had to make two usernames to flame me.... Lysis and Morbii.  That is sad. But maybe I should feel flattered that I am worth so much attention?

     

    I think you should drop them and focus on your real enemy... Me, Myself, And Me! Disucss.



  • @MasterPlanSoftware said:

    @Morbii said:

    Thanks for the kind words; fighting with mentally disabled people is fun.
     

    Interesting when coming from someone who follows me around trolling, and half their posts consist of troll attempts with the same mannerism.

     

    Funny that one troll had to make two usernames to flame me.... Lysis and Morbii.  That is sad. But maybe I should feel flattered that I am worth so much attention?

     

    Then why do you keep responding, morbiuswilters?



  • @MasterPlanSoftware said:

    Seriously, grow up.

    Telling people to grow up then tagging the post with a load of childish tags?

    Your posts have degenerated into troll baiting and troll feeding. Helping to turn what was a reasonable forum into crap.



  • @stinch said:

    Telling people to grow up then tagging the post with a load of childish tags?

    Your posts have degenerated into troll baiting and troll feeding. Helping to turn what was a reasonable forum into crap.

     

    I just came back to add another point:

    He calls me a "troll", yet I have lurked for a long time and see MasterAssHatPlan act like a jackass, talking shit to people for no apparent reason over and over again. I don't follow him around; rather when I come into a thread that he's already ruined I've taken it upon myself to take jabs as of late.



  • @stinch said:

    Telling people to grow up then tagging the post with a load of childish tags?

    Your posts have degenerated into troll baiting and troll feeding. Helping to turn what was a reasonable forum into crap.

     

    Riiight, because I started that.

    It is definitely my fault that whenever I make a post I have morbii following me around crying. These trolls (morbii, dlikhten, Lysis and poopdeville) are the ones ruining threads. But no one has to read anything they don't want to. Anyone who is complaing is just a baby.

    I guess we can add you to the list now. Try not to be quite as pathetic as the rest though. Have some dignity.



  • Hey, what did I do to get kicked off the list of trolls?



    Attempting to save the thread: I've been messing around with [url=http://dd-wrt.com]DD-WRT[/url] on my router. There's a shell script that runs on startup to load all the appropriate modules so it can access the USB hard drive. There are no options besides using a shell script, and yes, it uses sleep.



  • @Cap'n Steve said:

    Hey, what did I do to get kicked off the list of trolls?

    Attempting to save the thread: I've been messing around with DD-WRT on my router. There's a shell script that runs on startup to load all the appropriate modules so it can access the USB hard drive. There are no options besides using a shell script, and yes, it uses sleep.
     

    Pum pum puuuuum... Well aparently according to asshat, you should get .NET and use VBscript. Caz anyone claiming to be a good programmer MUST know VBscript and code everything in it.



  • @MasterPlanSoftware said:

    @stinch said:

    Telling people to grow up then tagging the post with a load of childish tags?

    Your posts have degenerated into troll baiting and troll feeding. Helping to turn what was a reasonable forum into crap.

     

    Riiight, because I started that.

    It is definitely my fault that whenever I make a post I have morbii following me around crying. These trolls (morbii, dlikhten, Lysis and poopdeville) are the ones ruining threads. But no one has to read anything they don't want to. Anyone who is complaing is just a baby.

    I guess we can add you to the list now. Try not to be quite as pathetic as the rest though. Have some dignity.

     

     

    Waaaah waaaaaaaaah!  If you disagree with me you must be a troll or you're Lysis with a nother name!  Yep, that's what it must be!

     I know you're fragile ego can't handle this, MasterAsshat, but some people might just think you're an asshole besides me.  I think you should sit back and ponder that for a second.   And Jesus-fucking-Christ - I do a search for my name in a thread and you have mentioned me like 5 times. 



  • @dlikhten said:

    @Cap'n Steve said:

    Hey, what did I do to get kicked off the list of trolls?

    Attempting to save the thread: I've been messing around with DD-WRT on my router. There's a shell script that runs on startup to load all the appropriate modules so it can access the USB hard drive. There are no options besides using a shell script, and yes, it uses sleep.
     

    Pum pum puuuuum... Well aparently according to asshat, you should get .NET and use VBscript. Caz anyone claiming to be a good programmer MUST know VBscript and code everything in it.

    Tits or GTFO.  You are just being a little bitch after MPS and I tried to explain reasonably why there was no sleep command in the DOS shell.  Seriously, get off my fucking coast, too.  Douchebaggery this bad should be quarantined.



  • @Morbii said:

    ARE CHILDREN ALLOWED TO SAY THAT?  ARE THEY?  ARE THEY? ARE THEY?
     

    Why is it you keep acting like a childish little brat and yet continue to accuse others of being kids?

    Grow up and act like an adult, or go play in the sandbox with the other little boys. 



  • @Lysis said:

    [b]If you act like a juvenile script kiddie who has no brain[/b], you must be a troll or you're Lysis with a nother name!  Yep, that's what it must be!
     

    There. Fixed that for you.



  • @KenW said:

    @Lysis said:

    If you act like a juvenile script kiddie who has no brain, you must be a troll or you're Lysis with a nother name!  Yep, that's what it must be!
     

    There. Fixed that for you.

    I SEE THIS CHAT ROOM HAS LOTS OF SMART PEEPS THAT FIXES COMPUTERS.

    I SLEEP PERRTY GUD ON DAYS I DUN GOTTA GO TO WORK IN THE SHED. MY OLD LADY TED KEEPS TELLIN ME THAT I AM NO GUD FER ANYTHING BUT I SHOW HER MY GUDNESS WITH MY LADY LUVIN. SHE LIKES TO TALK TO MY UNCLE TED ON THE PUTER AND SHE KICKED ME TO THE COUCH WITH THE DOGS TILL I FIND HELP FER THE MISSUS COMPUTER. MAYBE YOU CUD TELL ME WHY MY COMPUTER DUN START UP.



  • VBScript is the SCRIPTING language for Windows

    Aside from all the flames in this thread, I have to agree that you should use VBScript when possible to do scripting in Windows. After all, that's what it was created for.

    You should've seen the batch file that one of our old-timer Engineers was trying to create. I asked him why he didn't just use VBScript as it could be done in just a few lines. Obviously it's because he didn't know VBScript (his primary job is Oracle Forms 6i). I volunteered to whip up a script for him. He declined as he had already spent 2 hours on the batch file. 4 hours later and he was still hammering away at it.

    As it has been said many times before: Every language has its place. If you want to do more than shelling out a few EXEs or the like, VBScript is the way to go in Windows.



  • @AbbydonKrafts said:

    As it has been said many times before: Every language has its place. If you want to do more than shelling out a few EXEs or the like, VBScript is the way to go in Windows.
     

    Really it all just goes back to "The right tool for the right job."

    But obviously I am troll for calling someone to the carpet on that.



  • @KenW said:

    @Lysis said:

    If you act like a juvenile script kiddie who has no brain, you must be a troll or you're Lysis with a nother name!  Yep, that's what it must be!
     

    There. Fixed that for you.

     

    I think I have figured this crew out...

    http://developers.slashdot.org/developers/08/03/14/1312222.shtm

    That WOULD explain a lot... I wonder how they got out of SL though?



  • @MasterPlanSoftware said:

    @KenW said:

    @Lysis said:

    If you act like a juvenile script kiddie who has no brain, you must be a troll or you're Lysis with a nother name!  Yep, that's what it must be!
     

    There. Fixed that for you.

     

    I think I have figured this crew out...

    http://developers.slashdot.org/developers/08/03/14/1312222.shtm

    That WOULD explain a lot... I wonder how they got out of SL though?

     

    UR SMART BUT I AM NOT THAT SMART SEEIN AS I DUN SEE A PAGE THAR.  I TRIED TO UPGRADE THIS WINDOWS HERE AND IT TOLD ME MY PACKERD BELL WAS TO OLD AND I SAY THIS GADGET HERE JUST DUN THINK ITS SMART THEN ME. 



  • @MasterPlanSoftware said:

    http://developers.slashdot.org/developers/08/03/14/1312222.shtm
     

    http://developers.slashdot.org/developers/08/03/14/1312222.shtml



  • @AbbydonKrafts said:

    Aside from all the flames in this thread, I have to agree that you should use VBScript when possible to do scripting in Windows. After all, that's what it was created for.

     

    You should've seen the batch file that one of our old-timer Engineers was trying to create. I asked him why he didn't just use VBScript as it could be done in just a few lines. Obviously it's because he didn't know VBScript (his primary job is Oracle Forms 6i). I volunteered to whip up a script for him. He declined as he had already spent 2 hours on the batch file. 4 hours later and he was still hammering away at it.

     

    As it has been said many times before: Every language has its place. If you want to do more than shelling out a few EXEs or the like, VBScript is the way to go in Windows.

    Point well made... I guess VBscript is the windows equivelent (or what we will get at least) of linux shell script. In that case there is good reason to learn it. The primary difference is that:

    1) sh script runs on any linux box (provided you don't do anything that requires special programs)

    2) batch scripts run on any windows box (provided same thing as 1)

    3) VBscript is better than batch script, but not every box has it.

     

    However NOTICE TO ASSHAT:  Notice how AbbydonKrafts can articulate his point. He makes a non-threatening response, makes a good point, and people can agree. His response was not "RTFM, go play in your retard lair and don't bother us for not wanting to learn VBscript or .NET, i rule you suck now piss off"... This is your general response to most threads and thats why regardless of if you have ANY point nobody will EVER agree with you, hell Abby can repeat what you say slightly restructured as the very next post and i'd disagree with you and agree with him, its just obvious why! I am going to have to assume you just provoke flame wars so, I'll just start posting as if you don't exist. Yay! Feel free to NOT reply to any of my threads, or anyone's. In fact I hope you don't reply to this, just read and ponder!

     

    P.S. Everyone should stop responding to his threads, it'll just make him go away :)



  • @dlikhten said:

    1) sh script runs on any linux box (provided you don't do anything that requires special programs)

    2) batch scripts run on any windows box (provided same thing as 1)

    3) VBscript is better than batch script, but not every box has it.

     

    VBScript will run on any Windows box too... Maybe you should actually learn about it before posting this kind of stuff.

    @dlikhten said:

    ...another flame by a child...

    Get over yourself. You have continually demonstrated your ignorance through childish behaviour. You deserve any harsh word you are given.

    @dlikhten said:

    P.S. Everyone should stop responding to his threads, it'll just make him go away :)

    Sorry, but not everyone has a problem with me. Only the people who make ignorant, childish posts that I respond to do. Just because you have a small set of allies (consisting of more childish slashdot trolls like you) doesn't mean anything. It hasn't deterred me yet, and it never will.

     

    Stop being a big baby and suck it up. You have no idea what you are talking about and you simply cannot admit it.



  • @MasterPlanSoftware said:

    @AbbydonKrafts said:

    As it has been said many times before: Every language has its place. If you want to do more than shelling out a few EXEs or the like, VBScript is the way to go in Windows.
     

    Really it all just goes back to "The right tool for the right job."

    Right, but in this case Microsoft has decided for you that batch files aren't the right tool. It's not like sleep is some obscure function that would require a ton of work to bundle into Windows. Would you still be defending them if Server 2003 didn't come with something like ping?



  • @Cap'n Steve said:

    Would you still be defending them if Server 2003 didn't come with something like ping?
     

    When was the last time you used sleep from the command line?

    I don't see how your comparison is anywhere near fair.

    Sorry, I think you are really reaching here. Most likely just for the sake of trying to stir an argument that has been resolved many times over.



  • @MasterPlanSoftware said:

    When was the last time you used sleep from the command line?

    I don't see how your comparison is anywhere near fair.

    I've written one batch file (that was all of one line long) and one shell script (which did need sleep) in my life. After taking a Server 2003 class, I can see where batch files could be very useful on a domain. I'm not saying it's a huge problem to install it, but it's a pretty ridiculous thing to not include. What makes the comparison unfair?

    @MasterPlanSoftware said:

    Sorry, I think you are really reaching here. Most likely just for the sake of trying to stir an argument that has been resolved many times over.

    How is it resolved? You decided that it was no big deal to not include sleep and some people disagreed.



  • @dlikhten said:

    ...blah blah blah...

    As MPS already pointed out, VBS should run on any Windows box.  Additionally, your point about sh scripts is absolutely off-base.  Most of the UNIX shells are far more expressive than DOS, but that's because UNIX has always been far more command-line oriented.  Regardless, unless you are only calling executables, there is no guarantee that they will run anywhere, and even not then.  There are numerous, incompatible UNIX shells, including sh (which nobody is probably using), bash, ksh, csh, tcsh and so on.  Most of these have incompatible syntax.  Additionally, there is not fucking standard place to store UNIX binaries.  Where is find located?  wget?  Could be /bin, could be /usr/bin, could be /usr/local/bin or could be in fucking /opt.  You can try just relying on the shell to resolve the name for you, but that won't work from cron because it doesn't ever set the $PATH env var.  Perl is probably the closest thing to VBS on UNIX because it's installed almost everywhere and retains pretty much the same feature set through different versions.  Once again, I am not a Windows user, but claiming that fucking UNIX (or even Linux) is even close to standardized is absolute, utter and unbelievable bullshit.  Have you ever written a non-trivial C program that had to compile on multiple UNIX platforms?  Good god, it's a nightmare to just work with BSD and Linux, let alone AIX, HP-UX and Solaris.  Different standard libs, different compilers, different macros, different binaries, different arguments, different shells... FUCK!  I owe my employment to Linux and FOSS, but I'm not about to pretend that it's some fantasy land where everything just works right.

     

    @Cap'n Steve said:

    ...more blah blah blah...

    Batch is not the right tool for the job.  Microsoft has provided you with numerous tools that are far superior and FREE.  This would be like me bitching because Kenmore "decided" that my refrigerator isn't the right tool for the job of washing my fucking clothes.  Hell, if you insist on using batch scripts, they even provide a free download that gives you a sleep command.  Or you could write the 3 line C program to replicate the functionality.  In the world I live in, I have to get off my ass and do a little work to get computers to do what I want them to.  It doesn't matter if I'm running Linux, OSX, Windows or SSDS.  This is settled because it's a pointless bitchfest that doesn't achieve anything.  I could have written my own goddamn OS in the amount of time that has been wasted on this.  Please just let this worthless thread die.



  • @KenW said:

    @Morbii said:

    ARE CHILDREN ALLOWED TO SAY THAT?  ARE THEY?  ARE THEY? ARE THEY?
     

    Why is it you keep acting like a childish little brat and yet continue to accuse others of being kids?

    Grow up and act like an adult, or go play in the sandbox with the other little boys. 

     

    Thanks for the advice, but I guess sarcasm is lost on you in this case.

     I think I've always somewhat had some respect for you, KenW.  Please don't tell me you don't realize how much of a jackass that MasterAssHatPlan is and has been and that it was all wasted on you.



  • @Cap'n Steve said:

    I've written one batch file (that was all of one line long) and one shell script (which did need sleep) in my life. After taking a Server 2003 class, I can see where batch files could be very useful on a domain. I'm not saying it's a huge problem to install it, but it's a pretty ridiculous thing to not include. What makes the comparison unfair?
     

    You are obviously not even qualified to argue this. Let it go. Anybody in this thread who has had any common sense has agreed with this point. 

    Going to bat for dlikhten's ridiculous assertions is a waste of time.

    Let it die now.

    @Cap'n Steve said:

    How is it resolved? You decided that it was no big deal to not include sleep and some people disagreed.

    The only people to disagree are dlikhten and you. 

    dlikhten always stands by his ridiculous assertions and will never let this thread die. He will just continue to post more gibberish that makes less and less sense.

    You are just flat out trolling.



  • @Morbii said:

    Thanks for the advice, but I guess sarcasm is lost on you in this case.
     

    Nothing you have done is sarcasm. It is just flat out trolling.

    @Morbii said:

    Please don't tell me you don't realize how much of a jackass that MasterAssHatPlan is and has been and that it was all wasted on you.

    Your deluded perception that I have been trolling this thread doesn't seem to be agreed with by anyone else with any sense. I got into an argument with dlikhten fair and square. My argument has been backed by fact and reasoned argument. There have been no script kiddie exclamations or lolcat pictures or anything else (with the distinct exception of your posts). There is even the slight sliver of hope that one day dlikhten will learn to not make ridiculous claims, and instead to ask a question that he can learn from....

    Let it go. You are the asshole here.



  • @AbbydonKrafts said:

    Aside from all the flames in this thread, I have to agree that you should use VBScript when possible to do scripting in Windows. After all, that's what it was created for.

    IMO limited scripting environments like windows script host are flawed. You often end up needing to do something which the designers didn't think you would need to. A recent problem I had was you can turn the capslock on and off but can't sense its status. Also what's up with being able to read text files but having to do all the parsing yourself? The script files themselves can be xml yet you have to parse it by hand?

    A .net scripting language that allowed you to keep all the benefits of wsh scripts yet draw on the .net framework when needed would be much nicer. Outside the windows world most general purpose scripting appears to be done without cut down environments. I think there is good reason for this.


Log in to reply