How To: if exists; unknown filename
-
Having to update my backup script to include .PST files. However, they could be of any name.
I am using
if exist
to check for folders, and have done for a specific file name.Can you search for
*.PST
-
@gjacobse said in How To: if exists; unknown filename:
I am using if exist to check for folders, and have done for a specific file name.
Can you search for *.PSTYes.
Example:
IF EXIST C:\logs*.log (Echo Log file exists)