Start using where instead of which and other updates for MS Windows platform.