1.

Solve : Need help with .bat file?

Answer»

Hi
I have a bat file that runs at night VIA task schedular that syncronizes things on 2 computers.
I wrote in the batch file that if an error occured the batch file would pause and the next morning
I could see what the problem was. Well obviously that doesn't work. APPARENTLY everything runs
silently and I never see anything.
Is there something I can do in the batch file that would flag me the next day if there is a problem?
Right now I have to go through the log files and I didn't want to do that unless I knew there was
a problem.

thanks
azswiftI had a ton of automated processes to keep track of at my last job, and what i did was add that if on error to execute another process that sent me an e-mail with subject line of the problem. Every day i checked my e-mail and know right then and there if there were any that error'ed out. If this is something you are INTERESTED in, i can see if I STILL have the e-mail from command prompt program to share with you, that might be burried on my ONE external drive. Hoping I brought a copy of this home with me and didnt leave it at the prior employer when I left.Hi

Actually I have tried that but I keep getting a MAPI error 2. I have Windows live Mail on my
computer. I can send email from the GUI but when I try to have another program do it I
get the MAPI error. Some info I have read on Live Mail says it is not fully MAPI compliant.

azswift



Discussion

No Comment Found