Serge Gautherie : winapi: Use $cwd variable instead of pwd command.