Sting path= @"c:\program files\ 7z\7z.exe"; String Destinationfolder=@"d:\temp\"; String Source folder=@"E:\myfiles.zip"; Processstartinfo pro= new processstartinfo ("cmd.exe"); Process p=new process (); Pro.windowstyle= processwindowstyle.hidden; Pro.filename= path; Pro.arguments="a -p passwordd+ "\""+Destination folder+"\""+ source folder+"\""; Process x= process start(pro); X.waitforexit(); Int status= x.exitcode;
UNSAFE
EXTERNAL_ACCESS
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)