0
votes

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 will appear after I have completely closed the program.

Please assit me thank you...

1
It is usually very helpful to post some code.ChrisWue
does it have to be zip? or are you just looking for compression?albertjan
Sorry for the trouble, managed to solve on my own, used a different way to access the zip commands:Oean
You should answer you own question. And accept it.albertjan

1 Answers

3
votes

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