Batch help
Closed
prolan
-
Dec 10, 2008 at 10:22 AM
Swarve Posts 4 Registration date Monday December 8, 2008 Status Member Last seen December 10, 2008 - Dec 10, 2008 at 05:01 PM
Swarve Posts 4 Registration date Monday December 8, 2008 Status Member Last seen December 10, 2008 - Dec 10, 2008 at 05:01 PM
Related:
- Batch help
- Ping batch file output to text - Guide
- Batch rotate images - Guide
- Prevent batch file from closing - Guide
- 'Ipconfig' is not recognized as an internal or external command, operable program or batch file. - Guide
- Batch script to search for a file in a folder and subfolders - Programming Forum
1 response
Swarve
Posts
4
Registration date
Monday December 8, 2008
Status
Member
Last seen
December 10, 2008
4
Dec 10, 2008 at 05:01 PM
Dec 10, 2008 at 05:01 PM
Hi Prolan,
Does the script need to be fully in a batch file? I believe something like this would be more suited to a vbscript file.
To start with, the DOS command : dir /s /b deleted.log >loglist.txt
will generate a complete list of all of the deleted.log files complete with folder structure.
Parsing the contents and generating the alert email would be better done utilising vbs.
Cheers,
Swarve
Does the script need to be fully in a batch file? I believe something like this would be more suited to a vbscript file.
To start with, the DOS command : dir /s /b deleted.log >loglist.txt
will generate a complete list of all of the deleted.log files complete with folder structure.
Parsing the contents and generating the alert email would be better done utilising vbs.
Cheers,
Swarve