The problem is with the escape characters defined in path variable. Try this:
string path = @"\\HP-PC\GetFiles";
String[] fileNamesWithoutExtention = Directory.GetFiles(@path, "*.avi").Select(fileName => Path.GetFileNameWithoutExtension(fileName)).ToArray();