Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a .cmd file a .vbs file 1

Status
Not open for further replies.

DrSeussFreak

Programmer
Feb 16, 2007
149
US
I have this cmd file
Code:
@ECHO OFF
set backup_dir1=L:\ORACLE\MARSDATA\ARCHIVE
set backup_dir2=K:\hot_backup\oraob10

c:

cd "\Program Files\tivoli\tsm\baclient"

dsmc incremental -optfile=dsm.opt %backup_dir1%\*.* %backup_dir2%\*.*  > c:\adsmlogs\bkuparcfiles_%date:~4,2%%date:~7,2%%date:~10,4%.log

exit

That I need to make a vbs file so that once it finishes (whether successful or not) it sends me an e-mail notifying me.

Thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top