我是新手,我尝试打开一个文件。 这里是代码:URI格式不支持异常
string path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
string filenamelocation = System.IO.Path.Combine(path, "Fix_DeltaPro.exe");
System.Windows.MessageBox.Show(""+filenamelocation+"");
using (FileStream stram = File.Open(filenamelocation, FileMode.Open)) ;
但有一点错误:“URI格式不支持” 请帮助我:)
我的意思是什么字符串的样子,你可以登录它(删除任何敏感的)? – msanford
file:\ C:\ Users | dimitar.grudev \ documents \ Visual Studio 2015'Projects \ Helper \ Helper \ bin \ Debug \ filename.exe – spootles