I need a bat file to search sub directories

August 21, 2011 at 20:01:04
Specs: Windows XP
I need a bat file to search subdirectories in a folder for .tif files and send a page. This is what i have so far. I am not sure how to add the subdirectory search.
@echo off & setLocal EnableDELAYedExpansion
d:
cd D:\mdw_logs
if exist *.tif
blat -body "test page2'." -s "TestPager" -server smtprelay.xxx.com -f imagembx@hewitt.com -t xxx.xxx@pager

See More: I need a bat file to search sub directories

Report •

#1
September 16, 2011 at 13:43:07
@echo off
d:
cd d:\mdw_logs
dir /b *.tif > list_of_tifs.txt

then email that txt file...


Report •
Related Solutions


Ask Question