Jump to content

CoffeeFiend

Patron
  • Posts

    4,973
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by CoffeeFiend

  1. You should check if the files are there or not... Maybe it's just a typo. Chances are you'd get more answers if you asked your other question in a different post with another topic than bootscreen help (not relevant anymore) Also, to find what the problem is, we would need more informations (when you get that message, the script that running when it happened (and preferably the script itself). Depending on the case, parts of your winnt.sif might help too. I'm not sure when or why you are getting the error. All we can tell by your post is... It can't find some file(s). PS: Your english is just fine
  2. It seems like microsoft's security chief thinks that too (for those who missed the news, he uses firefox - a rival browser...)
  3. Ok then I found this clone too http://www.usfamily.net/web/wpattinson/wil...util/choice.zip that does that, it's freeware also. It has a couple extras too (multiline prompts, and supports pressing ESC and ENTER... ) Same syntax as well. And for the record, I don't recall being un-friendly whatsoever to anyone. To me, delayed execution of a command would be like: sleep 10 (or ping, or whatever you want) format c: /q will format your HD, and it sure is delayed by 10 seconds... choice /C:YN /T:Y,60 will not delay anything (but it will wait for keypress - and timeout if you don't press a thing).
  4. Exactly! You got it right. If you try his script with the ping and press N+enter sometime just before it ends (I counted up to 10 slow), it still defaults to Yes... And then after it enters N+enter on the command prompt and it tells me bad command of course... plus it still waits after I pressed enter (making you wonder if it crashed or didn't take your input or ?), and oh, it doesn't work with lowercase letters - and you don't notice until you find out it picked the wrong one (and depending on what it does - might force you to reinstall?). Also when you read it again in a year from now might be less obvious to understand than a simple and clean choice.com line in your batchfile. If you just wanted it to wait instead of giving the user more time to answer, then sleep.exe works well too... There are choice.com clones (a quick web search found one easily)
  5. It's too bad you don't understand what he wants in the first place. You're the only one stuck on wording. I only tried to tell what he actually wants. You just found tricks for delays and just that, which is NOT what he wants, and now you come back with more delays.... If he did say "I want delays", we could all have provided him with delays. (this is getting far too long and pointless, and I hate to have to say all this all over again for nothing). What he wants is the wait.com to do what it does, but for 60 seconds instead of 10. Not x seconds wait before or after the command... So effectively, the wait.com times-out or whatever. There are no delays. A delay does just that, wait, and it's not what he wants. Hopefully I don't have to explain it again.
  6. Unfortunately there are no simple ways to do that in vbscript... running it with csript will give you possibility to use keyboard input, but not a loop that checks for a keypress, if not, wait and loop until (keypressed or timedout). It would be about 10 lines in turbo pascal...
  7. is called "delayed execution of a command" If you think it is better to call it a timeout, do it, you are free, but don't go around teaching others. jaclaz I don't go teaching others. Call it whatever you want, it doesn't matter to me. I only commented that waiting won't answer the question with a default value. There is a huge difference between just waiting (a delay and nothing more) and having a command after a second pick it's default option, no matter what you call it. Or perhaps I missed something you can teach me how to make ping answer yes to choice.com after a 60 seconds? (time out is just like ping.exe doesn't get the expected answer after the set time, just like it says "Request timed out." It doesn't go saying "delayed execution of the command failed" does it? And as far I know, that was plain english as well - from a dictionnary: "The result if your computer waits more than a certain amount of time when requesting data" - which is the keypress in our case. Even the dictionnary says that... and there's plenty more to quote...)
  8. That should work (putting it in the same spot as the script). The only thing is, I'm not sure if that choice.com does a dos version check (I don't think it does but lots of dos apps do that, although it's very easy to bypass as well if you have basic dos asm knowledge). The only bad thing is choice.com doesn't time-out after 60 secs (unless this one is different from the other choice.com's i've tried?)
  9. That's a nice workaround for choice.com for sure. as for win98, you can copy it to anyhwhere in your %path% so yes \windows\command should work fine. As for the delay, he doesn't want a delay, he wants a time-out, and that, ping'ing will not do. I don't see adding choice.com myself as "spoling" an install. I in fact add many very handy command line utilities to all my installs. I see it as extras (you are going to add more stuff to your windows install no matter what anyways) I could have suggested using vbscript, but being win98... it might not be the best way (stdin.readline could have done the trick too) As for the timeout, no scripting method that I can think of would give you that.
  10. Dos installations are very simple. There are several things you can do other than running the original setup. You could for example, format the disk (/s) and use a (dos based) sfx (zip2exe, rar dos... anything goes, even just zipped and run pkunzip) to extract the default \dos folder and typical config.sys/autoexec.bat, all this running into a 98se virtual disk, or maybe even just ghost a disk or partition from a ghost image... There's many ways to do it that are actually much better than the original dos installer. I've encountered situations where the dos installer actually corrupts your hard drive many times (might have been a disk size issue). i had to manually format /s the disk, md dos, copy all the files manually and run expand on them... so i did create a ghost image of the partition afterwards.
  11. If there is a demand, I could code a console app that would wait for a keypress (y/n or return an errorlevel corresponding to the ascii character... or even one for each...) and a default overridable timer... It's easy stuff but as always, there has to be a demand/use for it to justify doing it (ie, won't do it for one person alone) Language... hard to say... maybe good ol' TP7 (patched unit for fast intel cpus) - just so you don't *need* the .net framework installed, runtimes, or such requirements.
  12. You can find the old choice.com from an old PC and use that, it would still work fine. (also, this is scripting, not programming...)
  13. There is no easy way to make paint do that, but there are tons of apps that can convert, and even some that capture and save as jpeg such as hypersnap dx. It might be worth looking into. I believe there is a trial version too.
  14. Actually, skins or not is a non issue for me. I like the way the controls and such are laid out, and it uses nice plugins. I use muchFX to "stack" 2 plugins, one to normalize the volume (rocksteady), and a sound enhancer/dsp (DFX, but I guess I might try enhancer soon, SRS didn't sound bad either). Constand volume and good sound are the main 2 criterias here. I just switched to v5 lately, but v2.91 (or whatever last was) is just as good for me (and lightweight).
  15. Another firefox addict (plus the web developper toolbar, checky, adblock, etc ... )
  16. Another happy winamp user. (what in the world is fubar2000 anyways? sounds like a music player from what the poll suggests...)
  17. I don't know how you managed to just notice about this recently, that's been in windows for ages (win2k at the very least). I'd have to say like prathapml, it's no deadly by any means (makes no sense to me). If you searched for StickyKeys (it's proper name) I'm sure you would have found out results.
  18. ASP is sort of like php. It's more or less a scripting language that spits out (x)html. There's also ASP.Net. XML is a way of describing and storing data in a structured way with your own tags, it's not markup like html is-at all. "and stuff"... uh, there's FAR more web "stuff" than htm and php... (CSS, XHTML, XSLT, WML, SOAP, WSDL, DOM, WAP, ...) If you want to learn more about web stuff, w3schools is a good place to start learning it.
  19. By the way, thanks for making us aware of devcon.exe, it's a nice toy. I just finished making a vbscript that uses fso and wmi to remotely execute it on all enumerated PCs of a domain, and SQL insert the results in a database along with their netbios name. I already had done something similar in pure WMI, but the information is quite different... (the info is them used in a IT trouble call web app I've made, and with one click you can popup either SMS data about the computer in question, or the infos I've retrieved with WMI, and now the devcon info is next) Much appreciated!
  20. It's actually pretty straightforward if you use the "classic" account manager (it's the only one worth using anyways!): -Open the user manager -Click the advanced tab -Click the advanced button -Select "users" -Double click on his account -Put a checkmark by "account is disabled" -Click "ok" You're done.
  21. If there is a decent amount of interested persons... I might get around to code something quick for it. It all depends on the feedback
×
×
  • Create New...