Login | |
|
 |
RE: need help with IF and ELSE statement - 5/30/2006 2:02:07 AM
|
|
 |
|
| |
ebgreen
Posts: 4970
Score: 31
Joined: 7/12/2005
Status: offline
|
try this: errors = 0 'e-mail and page the log file if errors >= 0 then emailShell.Run "email-success.bat", 0, true pageShell.Run "page-success.bat", 0, true else emailShell2.Run "email-err.bat", 0, true pageShell2.Run "page-err.bat", 0, true end if
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|