1.

Solve : Are these task possible in(or with) batch files?

Answer»
can you run a batch file once radomly in one hour timespan?
can the batch file go lookup and parse an xml file in a network share?
can the same batch file be minimized in the taskbar at all time (i.e like other applications)?
can the batch file show an alert message if the xml file contain certain word(little alert like msn messenger show friends come online)?
and if someone click the alert, another application is launched?

what language or technology do you suppose I use to achieve all these in the quickest and easiest possible way. I tried flash but couldn't minimize icon in taskbar. Any pointer.

Sincerely1. can you run a batch file once radomly in one hour timespan?

If the file was being ran randomly it wouldn't be running each hour. Maybe I don't understand the question. But you could run a batch file every hour.

2. can the batch file go lookup and parse an xml file in a network share?

Depends on how or what your parsing. Could be possible. But for the most part this is not what batch files are for.

3. can the same batch file be minimized in the taskbar at all time (i.e like other applications)?

Yes.

4. can the batch file show an alert message if the xml file contain certain word(little alert like msn messenger show friends come online)?
and if someone click the alert, another application is launched?

Again batch files are not really meant for parsing data. It may be possible, but not likely. As far as sending an alert or other message it would all really depend if the alert could be DONE through a command prompt. However, more than likely not possible with a batch file unless you had another program running from the command line that interfaced with MSN.

what language or technology do you suppose I use to achieve all these in the quickest and easiest possible way. I tried flash but couldn't minimize icon in taskbar. Any pointer.

I'd suggest a more advanced programming language. For SOMETHING like what you mentioned above I'd suggest a Perl script. For this to work though you'd need to GET the free Perl interpreter for Windows. However, Perl is one of the best if not the best for parsing text and could handle more advanced situations such as sending alerts.

Thank you kindly. By randomly in an hour I meant to say, RANDOM interval without going over an hour, just like dices, random occurance but never over 6.

Anyway, I don't know how to do these tasks in Perl (just yet). To show Alerts I probably need to do Perl GUI stuff? Anyway thanks again.In NT (NT/2K/XP/Vista) batch you could at each hour (ie when clock says HH:00) produce 6 random numbers between 1 and 59, then SCHEDULE a batch to run at hh:MM where each MM is one of the numbers thus produced.



Discussion

No Comment Found