It can be done in windows but the batch file syntax is bizarre.

Easier to install Cygwin to do the honors.
_________________________
Glenn