I need a batch script which can read a file *.D00000.DAT and find the specific line as below
*-*-* Job: 1111 Name: ABCDEFGH User: ABCXYZ Date: 03/13/14 Time: 11:50:00 *-*-*
and store Job, Name, Date & Time in different variables.
Then do the following:
1. close the file and rename it with "Name".
2. Create a folder and name it with Job-Name-Date-Time
3. Move the renamed file into the folder
4. repeat the process for next *.D00000.DAT file