Shouldn't this be `if( path.startsWith("\\\\") )`?