@echo off set dt=%DATE:~6,4%_%DATE:~3,2%_%DATE:~0,2% set dt=%dt: =0% :loop if exist "c:\Systems\SLU_MI\PROD_IMPORT\Netsol_payments*.xml" ( goto found )else( goto check ) :found ECHO Netsol Payments File TIME: %TIME% - %DATE% >> c:\Systems\SLU_MI\PROD_IMPORT\Netsol_File_Logs\Netsol_File_Time_%dt%.txt :check if exist "c:\Systems\SLU_MI\PROD_IMPORT\Netsol_accounts*.xml" ( goto found2 ) else ( goto loop ) :found2 ECHO Netsol Account File TIME: %TIME% - %DATE% >> c:\Systems\SLU_MI\PROD_IMPORT\Netsol_File_Logs\Netsol_File_Time_%dt%.txt
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)