I don't know how Windows shells (cmd.exe, PowerShell, whatever else there might be) handle quotes and globbing.
But I think it can be removed, nowadays it's very easy to get a Bash or similar good shell running on Windows and so this special handling in our code is probably not necessary anymore.