Thursday, September 8, 2016

DOS Batch Command : Check If Any Files exists and transfer it to specific folder

@echo off

IF EXIST "C:\Payments_API\FilePay\*.txt" move /Y "C:\Payments_API\FilePay\*.txt" "C:\\SharedFolder\DDD\FilePayPay\"