System execute of bash script on windows

Hi,

I have a following problem:

Locally I develop my Clover projects using Ubuntu Linux. Because of that I have a “System Execute” with the following parameters:

System command:


for i in $(ls ./data-out); do
	rm ./data-out/$i
done

Command interpreter:

bash ${}

Mostly I use system execute for moving files and similar stuff. However my co-worker started working on the same project as I. The problem is, that he happens to use Microsoft Windows XP.

My question is:
What is the easiest way to make these bash scripts work on linux?
Thanks for your help in advance!

Hello,
corresponding script on Windows is:

for /f %%i in ('dir /b data-out')  do del data-out\%%i

with command interpreter:

${}