Support Windows OS by using findstr for grep feature (with dir fix)