Created
February 12, 2015 14:45
-
-
Save kayasax/aba73805547d2936d6a2 to your computer and use it in GitHub Desktop.
replace a version number
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace versionnumber="xxx" whith versionnumber="yyy" | |
(gc C:\temp\config.xml) -replace '(newversion=)".*"' ,'$1"yyy"' # if you want to save the file add |sc c:\temp\config.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment