but here is Bat file...
so it starts one ftp..and than it starts another bat which is for compiling java files..
so start.ba is:
copy *.jpg C:\wamp\www\file\pics
so I use java to create some pics..that is why I needed php to execute bat file so it could save some time..any ideas??