Thanks the scripting worked with the changes, however it still could not find the files:
Example of File Names:
EPICTRAN_20241010124347242.txt
EPICTRAN_20241009112911416.txt
EPICTRAN_20241008104954766.txt
EPICTRAN_20241007133602565.txt
“\epic-nas.et1157.epichosted.com\xfr\nonprd\toODB\Claims\PBClaims\CRD\TEST1\archive"+“EPICTRAN_”+Now.ToString(“yyyyMMdd”)+”*.txt"
I am trying to write a script that would send me email if file is found and if not found with this specific format daily then it would email me stating no file exists. I am using If and Else statement…