未能找到路径中的某个部分_C# 未能找到 的一部分
C# 未能找到 的一部分 petofi LV12 2013-04-18 语句如下:private void button3_Click(object sender,EventArgs e){button3.ForeColor = Color.BlueViolet;button4.ForeColor =Color.Gold ;StreamWriter fs = new StreamWriter(Ap
C# 未能找到 的一部分
petofi LV12 2013-04-18
语句如下:
private void button3_Click(object sender,EventArgs e)
{
button3.ForeColor = Color.BlueViolet;
button4.ForeColor =Color.Gold ;
StreamWriter fs = new StreamWriter(Application.StartupPath + @"\Output.w");
fs.WriteLine("set realmlist tw.logon.worldofwarcraft.com");
fs.Flush();
File.Copy(Application.StartupPath + @"\Output.w", Application.StartupPath + @"\\realmlist.wtf",true);
File.Copy(Application.StartupPath + @"\Output.w", Application.StartupPath + @"\\data\\realmlist.wtf",true);
File.Copy(Application.StartupPath + @"\Output.w", Application.StartupPath + @"\\data\\zhTW\\realmlist.wtf",true);
File.Copy(Application.StartupPath + @"\Output.w", Application.StartupPath + @"\\data\\enTW\\realmlist.wtf",true);
File.Copy(Application.StartupPath + @"\Output.w", Application.StartupPath + @"\\data\\zhCN\\realmlist.wtf",true);
File.Copy(Application.StartupPath + @"\Output.w", Application.StartupPath + @"\\data\\enCN\\realmlist.wtf",true);
}
生成文件之后拷贝到目录下运行提示:没有找到路径D:\world of warcraft\output.w的一部分

GitCode 天启AI是一款由 GitCode 团队打造的智能助手,基于先进的LLM(大语言模型)与多智能体 Agent 技术构建,致力于为用户提供高效、智能、多模态的创作与开发支持。它不仅支持自然语言对话,还具备处理文件、生成 PPT、撰写分析报告、开发 Web 应用等多项能力,真正做到“一句话,让 Al帮你完成复杂任务”。
更多推荐
所有评论(0)