I'm working on a script that will update local policies on my computer. One of the steps is to edit Version value in gpt.ini. How to do this in batch ? I need to increment the value by 1.
Asked
Active
Viewed 162 times
1
-
2Possible duplicate of [Batch file to edit line in ini file](http://stackoverflow.com/questions/6578896/batch-file-to-edit-line-in-ini-file) – Daniel Casserly Oct 08 '15 at 11:51
-
1http://stackoverflow.com/a/15413717/1683264 might help as well. – rojo Oct 08 '15 at 13:19
-
For incrementing values see `set /?` and look for the `/A` switch... – aschipfl Oct 08 '15 at 22:50