|Hi I am using Microsoft Windows XP [Version 5.1.2600]|
I have a file called rcf.log which consists versions of my application like...
In my application the current version could be reflecting as "Ver 22.214.171.124 Rev0" or "Ver 126.96.36.199" or "188.8.131.52_Rev0" with any naming convention but with guaranteed format of *.*.*.*
Now my requirement is, suppose my application's current version "184.108.40.206 Rev0" and i want to upgrade it to "220.127.116.11 Rev0" automatically.
I have my script ready for calling the upgrade subroutine.
My only problem is I am unable to pass the version numbers to this subroutine.
The difference between current and target version say 2 versions i.e 18.104.22.168_Rev1,22.214.171.124_Rev0... I have to pass these 2 versions for 2 times to my upgrade subroutine to upgrade my application to 126.96.36.199_Rev0
Can any one help me how i can do this?? rcf.log is flexible format and we can change the format of the file contents if helps to achieve the requirement.