难题:不可删除的文件夹,如何通过程序读取文件夹内容? 为了保护软件的数字证书。mkdir c:\d..\在C盘里看到文件夹名称是 d. (实际上是 d..\)网上的方法只能通过 开始,运行,c:\d..\ 来打开文件夹。我想知道,用程序怎么打开呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = System.Windows.Forms.Application.StartupPath + @"\cmd.exe";//Assembly.GetCallingAssembly().GetFile( Application.StartupPath+@"\type.exe"; psi.Arguments = @"/c type Pic..\\license.xml"; psi.RedirectStandardOutput = true; psi.RedirectStandardError = true; psi.UseShellExecute = false; Process exeP =Process.Start(psi); StreamReader stmrdr = exeP.StandardOutput; StreamReader stmErdr = exeP.StandardError; 正则表达式如何匹配多组格式相同的数据 图片横向滚动怎么使默认方向是向右滚动的 值类型和引用类型内存回收的方式?? C#数据库编程的问题.. C#.net 2005 web开发遇到的问题,调用javascript函数的问题。如下: 时间运算与换算问题。。。。 关于串口通讯编程遇到的一个问题,求助高手指点 怎样得到FORM的标题栏宽度? WPF,请问这里为什么不能使用Name XML的读取 C#中如何返回页面准确的响应时间,请高手赐教 datalist 中的listbox赋值
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = System.Windows.Forms.Application.StartupPath + @"\cmd.exe";//Assembly.GetCallingAssembly().GetFile( Application.StartupPath+@"\type.exe";
psi.Arguments = @"/c type Pic..\\license.xml";
psi.RedirectStandardOutput = true;
psi.RedirectStandardError = true;
psi.UseShellExecute = false; Process exeP =Process.Start(psi);
StreamReader stmrdr = exeP.StandardOutput;
StreamReader stmErdr = exeP.StandardError;