Create a batch file to check a text file is in the location specified, else run a task.
#This batch file checks to see if a text file is in a location, if it does not, then launch notepad.exe
Create IfNot.bat
Add the following :
If NOT exist “C:\Temp\IsThisFileHere.txt”\ (
notepad.exe
)
exit