I have installed 7-zip 4.65 on my machine at C:\\Program files. I want to use it in C# code to zip a file. The file name will be provided by the user dynamically. Can any on
I suppose if you wish to use the installed one you have in c:\program files, you could just use System.Diagnostics.Process to run command line apps -
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx
Passing parameters is easy too. There are plenty of examples here - http://www.c-sharpcorner.com/UploadFile/DipalChoksi/ShellCommandsInCS12032005042031AM/ShellCommandsInCS.aspx