I am fairly new to writing batch scripts. I am trying to write a script file to achieve the following task.
I have a source safe command below to get the list of files changed between two dates
ss.exe history $/myproject -Vd04/01/2012~01/01/2012 -R
The output of the above command is as follows
Building list for $/myproject.......................................................
....................................................................................
...................................
***** AllPages.master *****
Version 67
User: user1 Date: 1/12/12 Time: 1:08p
Checked in $/myproject/websites/website1
Comment:
***** AdminTSSetup.aspx.vb *****
Version 10
User: user2 Date: 1/12/12 Time: 1:09 p
Checked in $/myproject/websites/website1
Comment:
With the output above, I want to read the file name (allpages.master, AdminTsSetup.aspx.vb) and version of each file from the output and run the following command
SS diff -DS <filename from output> -V<version from output - 1>~<version from output>
Basically, I was trying to compare the previous version with the current version for each file in the output.
Can some one please help?