|
Hello, I'm new to vb scripting
I need something like this code but with addition of text to the txt output file.
so the script should check for every file in the folder and give an output of :
RESTORE LOG NewDatabase
FROM DISK = ''D:\BackupFiles\TestDatabase_TransactionLogBackup1.trn'
WITH NORECOVERY
RESTORE LOG NewDatabase
FROM DISK = ''D:\BackupFiles\TestDatabase_TransactionLogBackup2.trn'
WITH NORECOVERY
Can somebody help me with that.
I don't think it should be hard to do, I only don't know how exactly.
|