Batch file to check certain word in a folder full of files (Reports) and copy them to a different folder on the network
Posted on 2014-01-13
I need a batch file that would check for the word (HP) in a folder full of daily reports, the batch would check inside of every file if there's a word HP . if its found, the batch will copy the file to a different folder that's publicly shared on the network.
This should happen on daily basis.
The folder path if requested is (C:\1-WebServices-1\DeviceUpdateLogs\Server\Audit\imageUpdates)
The Public folder is c:\PublicFolder.
Would appreciate your help.