i need a script to monitor whether any files are available in the folder (with specific name) and if its available then i need to unzip the file and rename it (specific name)
The input files are placed to folder in :"D" drive. Then this files will be unzipped manually and it will have a somename.txt & we rename this .txt file to application specific name.txt. This files will be then picked by the batch job and processed accordingly. I need a script to run once day (via task scheduler) and unzip a files and rename the .txt files in folder in D drive.
File Name: FINS.txt and FINSP.txt respectively
Rename File to: OFAC.txt and OFAC_provider.txt respectively
This files are picked by the batch job and its archived by the batch job itself. So we just need to unzip a file and rename it.