![]() Save the file as E:\SQL_Backup\scripts\ databaseBackup.cmd and save it in The contents of the batch file will be a simple call to the sqlcmd.exeĪnd a call to the VBScript file using either wscript.exe or simply calling the file. We need to create the batch file which will call both the TSQL script and the ![]() Step 3 - Create the batch file that will call the TSQL script and the VBScript ObjFile.WriteLine "BACKUP FILE DELETED: "
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |