Hi Francois -- my suggestion is, forget kpsetool. Why do you need it? Just always use kpsewhich. kpsetool is a /bin/sh script so it can't run on standard Windows. Rewriting it is not likely to happen, at least not by me. Sorry. k