|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 188.8.131.52 Rev0" or "Ver 184.108.40.206" or "220.127.116.11_Rev0" with any naming convention but with guaranteed format of *.*.*.*
Now my requirement is, suppose my application's current version "18.104.22.168 Rev0" and i want to upgrade it to "22.214.171.124 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 126.96.36.199_Rev1,188.8.131.52_Rev0... I have to pass these 2 versions for 2 times to my upgrade subroutine to upgrade my application to 184.108.40.206_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.