I have written a bat file that will change some config settings for me on another file on the machine.
I found a useful tool called change.com from googling the net which allows me to do this but it is limited in that it has no wildcard function and the value I am changing is a variable between 0 and 255 with 2 channels so I end up with an extremely large file which does work but I'm wondering if there is a better way to do this? The change function changes the first value to the second ONLY if the first function matches one in the program.
change FolderA\settings.ini "left=255" "left=0"
change FolderA\settings.ini "left=254" "left=0"
etc all the way down to left=1 then I have another for right=255 down to right=0
I also don't know how to do this if the bat files are located in a sub folder to the one I want to change - do they have to be in a folder above the one you want to change? It also wouldn't work if the bat files were inside their own folder even if senior - I'm guessing this is my limited knowledge of file paths etc.
Any input from you more senior programmers would be appreciated :D
Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.
One of my most closely kept secrets is revealed in this discussion
How to output text on the same line
This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space.
w60 means Windows Vista or Windows Server 2008.
w61 means Windows 7 or Windows Server 2008 R2.
There are various …
This Micro Tutorial hows how you can integrate Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease.
The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…