Big Thank you for your answers. I downloaded KiX2010.466, that was the latest one I could find.
As soon as I will get the script I need to modify will try it out.

And now will try to do some testing with just echo depending on the OS.

Thank you.