-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi again everyone,
Again newbie here so go easy In a script I have a section that looks like this #Finally we have to load all extensible counters system("lodctr faxperf.ini") or die "sorry couldn't do $!"; system("lodctr dnsperf.ini") or die "sorry couldn't do $!"; system("lodctr esentperf.ini") or die "sorry couldn't do $!"; system("lodctr iasperf.ini") or die "sorry couldn't do $!" ; system("lodctr dnsperf.ini") or die "sorry couldn't do $!"; system("lodctr msdtcprf.ini") or die "sorry couldn't do $!"; system("lodctr ntdsctrs.ini") or die "sorry couldn't do $!"; system("lodctr ntfrsrep.ini") or die "sorry couldn't do $!"; system("lodctr perfci.ini") or die "sorry couldn't do $!"; system("lodctr perffilt.ini") or die "sorry couldn't do $!"; system("lodctr perfwci.ini") or die "sorry couldn't do $!"; system("lodctr pschdperf.ini") or die "sorry couldn't do $!"; system("lodctr rasctrs.ini") or die "sorry couldn't do $!"; system("lodctr rsvp.ini") or die "sorry couldnt do $!"; print "all done!!!!"; Sometimes one of the commands fail for a reason I am not sure of (it will fail at line 29 but when I rerun the script it will fail at 35 then it will fail at 40 then it wont fail at all. I also notice that when I actually manually enter the commands through the command line it sometimes doesnt take either. Dumb question but does anyone have a clue how I could write a loop to loop through this and rerun it if it doenst complete. I was thinking of writing a loop using until. Something like until we say all done keep running the script. Since i am new to programming all together (first language and all) it is sometimes hard to get into the "mentality of a programmer". Thanks again this list has been a lifesaver today I appreciate all the help and encrouragment, Cheers, Leon -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPn+Bb0k2S2y0JhBMEQKgMgCfV5Z01be2LhnkpOemJ1Heb4DF6NoAoOk4 XQjXklcaqO13EH4IxDmv9fjV =5/se -----END PGP SIGNATURE----- INDEPENDENCE COMMUNITY BANK CONFIDENTIALITY NOTICE: This message (and any attachment) is confidential and intended for the sole use of the individual or entity to which it is addressed. If you are not the intended recipient, you must not review, retransmit, convert to hard-copy, copy, use or disseminate this email or any of its attachments. If you received this email in error, please notify the sender immediately and delete it. This notice is automatically appended to all Internet email. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]