|
|
|||||||
I have searched but cannot find so must ask..... I use wkix32.exe to launch my script so as not to get a command prompt popping up and then disappearing. BUT during my script I want to pop up a new comand prompt with a "ping x.x.x.x -t" command running....but I cannot fathom out how to get one to open. You guys rock....please tell me it can be done |
||||||||
|
|
|||||||
Try using "start" in your shell command. Also, if you are not already, use "%COMSPEC%" to start the command under a command interpreter. |
||||||||
|
|
|||||||
mmm....this appears to be the only way I can do it.... Run '%COMSPEC% /e:1024 /c pingout.bat ' + $routerip and pingout.bat is start /MAX ping -t %1 Oh well....works for me Thnx 4 ur help. PS. The bit I had missed out in all my testing was the /e:1024 to get some extra environment space ! :rolleyes: Although according to XP (cmd /?) the /E flag is either ON or OFF for command extensions !? |
||||||||
|
|
|||||||
Andy, Here is one that I put together - Re- Server available script If memory serves, Richard also has a monitoring script too. Kent |
||||||||
|
|
|||||||
Yup, a console server monitor Unfortunately the new BB software has screwed up the code quite badly (it's truncated), but you can see the screenshots. If you want the code & sample ini file let me know and I'll email them. |
||||||||
|
|
|||||||
You could also build something with KiXforms. http://www.kixforms.com |
||||||||
|
|
|||||||
better yet: http://www.kixforms.org |
||||||||
|
|
|||||||
Ooh I have a monsta script....including KixForms. It has an ini file as a database of nearly 100 servers we monitor, it pulls logs from them and produces a report of what update state each server is in etc. Includes an editor for the ini file....but my style of scripting is seriously rough and ready....no prizes for style Thnx for all the hints and pointers. |
||||||||
|
|
|||||||
Richard, You should have mail from my work acct. Kent |
||||||||
|
|
|||||||
Quote: Me ? The only mail I had for last 3 days was re. viagra, improving my manhood, and satisfying my partner ! Which was from you ? |
||||||||
|
|
|||||||
you have richard as your middle name or what did I miss? |
||||||||
|
|
|||||||
Quote: Do moderators not have access to private messages ? or perhaps your email doesn't let you know when one arrives ? |
||||||||
|
|
|||||||
Quote: Yes, they do. Quote:Yes, it doesn. However it's nice to get a reminder that there's a useful message in the inbox among the hundreds of more or less useful messages that one receives durign a normal day (not counting SPAM). Anyway, why do you care anyway, as the notice was not directed towards you? |
||||||||
|
|
|||||||
Quote: Oooh, excuse me almight moderator ! :worship: I didn't realise you used threads to leave each other little notes, I must remember to try and filter them out when reading entries that are "ON TOPIC" ! |
||||||||
|
|
|||||||
mortal user, ja. you should filter. you see, the mods do have their own mind and those minds are not similar and they tend to do weird stuff. user can do nothing but accept that or not accept but then he might face the wrath so... what was the topic anyways? oh and the second cmd-prompt... you could try other than kixtart run or shell. I've complained about this stuff earlier but as wkix32.exe users are still pretty rare, my voice doesn't get heard on this subject. you could try with shell-execute (as used in http://www.gwspikval.com/jooel/UDF/udf/83022.htm ) |
||||||||
|
|
|||||||
This is Andy's topic and he has every right to complain when Kent hijaaks it for not-so-private messaging. It has nothing to do with being a moderator except that mods should lead by example. The board's private messaging works very well, even if email notification is disabled. There is a flashing envelope that appears in the board's nav menu. |
||||||||
|
|
|||||||
see andy? nice example |
||||||||
|
|
|||||||
@ Les: Thanks for understanding my grievance & hopefully guiding people away from doing it again. @ Lonkero: Thanks for the pointers, all is OK now |
||||||||
|
|
|||||||
Sheesh.. I am confused.. Wait a sec.. Richard offered to give a copy of the monitor to people that wrote in e-mail in the open forum. If it is a transgression to confirm that I ask him for a copy, then I am sorry. I guess I will keep these things to myself. Or, rather in the pm. Kent |
||||||||
|
|
|||||||
Quote: What monitor ? Can we all have one ? Hope you got it......now move along, nothing to see here.... |
||||||||
|
|
|||||||
I guess, you're not reading the posts carefully enough. Richard H. explicitly stated Quote: So, yes, it's okay to post in the thread that there's a request on his way. A lot of people are checking the forums outside of work, so they might not have instant access to their work email. |