dougcranston
Technical User
I am really having a mental block on this.
I want to identify the newest file in a specific directory.
Specifically, it will be the newest NTBackup log file created during nightly backups. Since Win2k does not permit you to define the log file name, I need some way to identify it so I can save a copy elsewhere so I have more than the 10 backup logs it will maintain.
Also, once I can identify that file then I can email it to myself and a backup admin to review how the backup worked.
But I can't seem to even know where to start on this one..
Any suggestions on where I might find some sample code I could adapt?
Thanks inadvance.
Dougc
I want to identify the newest file in a specific directory.
Specifically, it will be the newest NTBackup log file created during nightly backups. Since Win2k does not permit you to define the log file name, I need some way to identify it so I can save a copy elsewhere so I have more than the 10 backup logs it will maintain.
Also, once I can identify that file then I can email it to myself and a backup admin to review how the backup worked.
But I can't seem to even know where to start on this one..
Any suggestions on where I might find some sample code I could adapt?
Thanks inadvance.
Dougc