batch.scripts
batch.scripts copied to clipboard
batch script utils and examples by npocmaka -
Is there a way to replace multiple strings with a loop using replacer.bat? ``` call replacer.bat "content.txt" "foo" "bar" "xyz abc" "bla fart" call replacer.bat "content.txt" "foo\bar" "xyz\abc" "bla\fart" ```...
Added a brief description.
The `find` function in [dataStructures/binaryTree.bat](https://github.com/npocmaka/batch.scripts/blob/master/dataStructures/binaryTree.bat) produces the following error: ```batch !test_tree6! was unexpected at this time. ``` To resolve this error, I removed the `!%1!` syntax used for _delayed expansion_....
added function getpixel, it returns the r:g:b at the current mouse position when use: mouse pixel
When the [javaDetect.bat](https://github.com/npocmaka/batch.scripts/blob/master/Java/javaDetect.bat) script is run after **a new CMD session is opened**, the following error occurs: ``` Environment variable JAVA_VERSION not defined ``` To fix this error, the comment...
The script is run in the temp folder how to transform into .exe running in the local folder where the .bat was converted?
use "ejection" instead of "ejectuation"
Thanks very much for the script. I don't understand how to continue scripting after saving to external file the script output. once the output has been saved to external file,...
There is some suggestions to improvement on .net batch prologue, future improvement of (https://github.com/npocmaka/batch.scripts/issues/25) It runs .exe files immediately if .exe file is located near .bat file. It does not...