I have a XML file generated by Visual Studio that contains the version of the product, hence the tag will always be there just the value changes. I need to extract the version with windows command line somehow. This is the tag in the file and I need only the version number "1.0.0.0":
<?define BuildVersion = 1.0.0.0 ?>
Is there a built in tool (maybe with findstr
) that can accomplish this?