开发者

Using cmd through C# to zip and unzip files problems

开发者 https://www.devze.com 2023-02-25 10:36 出处:网络
I\'ve been using C# to execute cmd commands centred around zipping and unzipping files through the system.diagnostics.process class but have been encountering some difficulties:

I've been using C# to execute cmd commands centred around zipping and unzipping files through the system.diagnostics.process class but have been encountering some difficulties: while trying to zip or unzip some of the folders, the process does not complete the zip command and then stops to react to further commands. sometimes when that happens the zip files开发者_C百科 will appear after I have completely closed the program.

Please assit me thank you...


Detailed control over external processes can become very tricky. Is SharpZipLib not an option for you?

0

精彩评论

暂无评论...
验证码 换一张
取 消