2013-10-16 59 views
0

我'尝试解压缩从元网络文件在C#中使用此语法:解压缩从网络中的文件

string dezarhiverPath = ConfigurationSettings.AppSettings["PathWinZip"] + "\\WINZIP32.EXE"; 
ProcessStartInfo pro = new ProcessStartInfo(); 
pro.WindowStyle = ProcessWindowStyle.Hidden; 
pro.FileName = dezarhiverPath; 
pro.Arguments = " -e -j -o " + prmSource + " " + prmDestination; 
Process x = Process.Start(pro); 
x.WaitForExit(); 

如果我用这个sintax和我的zip文件是在本地我的电脑上它的工作原理bbut时我移动路径,我试图从网络上的某个位置解压缩不起作用。保留在“x.WaitForExit()”行。如果我尝试manualy解压缩它的作品。我的用户有权访问此位置。我没有错误。

有人可以帮我解决这个问题吗?

+0

谁能告诉我是什么意思的观点 - e -j -o? – user1577242

+0

将'WindowStyle'设置为'Normal'并且看看窗口会发生什么。 – Oliver

回答