string path = "C:Hg empLogFile.txt"; string output = path.Replace(@"", @""); output >>> C:Hg empLogFile.txt