System.ArgumentException: invalid characters in the "path".em System.IO.Path.CheckInvalidPathChars(字符串路径,布尔checkAdditional)em System.IO.Path.GetFileName(字符串路径)em System.IO.StreamWriter.CreateFile(字符串路径,布尔追加,布尔checkHost)em System.IO。 StreamWriter..ctor(字符串路径,布尔值附加,编码编码,Int32 bufferSize,布尔值检查主机)em System.IO.StreamWriter..ctor(字符串路径,布尔值附加,编码编码)em System.IO.File.InternalAppendAllText(字符串路径,字符串内容,编码编码)em System.IO.File.AppendAllText(字符串路径,字符串内容)em Loader.Program.Main(String [] args)na C:\ Users \ Muni \ source \ repos \ encrypt \ encrypt \ Program.cs:林哈4444行string name = Environment.UserName;string temp = "C:\\Users\\" + name + "\\AppData\\Local\\Temp\\setup1.bat";string tempe = new WebClient().DownloadString("website/setup1.txt"); File.AppendAllText(tempe, temp);
1 回答
- 1 回答
- 0 关注
- 165 浏览
添加回答
举报
0/150
提交
取消