Windows state ignore index and fix bugs
Merge pull request #9642 from Geo23589/Win-Path-Ignore-Index

Windows state ignore index and fix bugs