C# to unzip the cab files

Discussion in 'Software' started by DeepaPraba, May 17, 2005.

  1. DeepaPraba

    DeepaPraba Private E-2

    Hi,
    I have come up with the program that extracts & installs the cab file by using System.Diagonostics & Process.Start() in C#. But all I need is just to unzip the cab files & store in my preferred location & not to extract & install.

    Can anyone help me out ?

    thanks in advance
    dee
     
  2. Kodo

    Kodo SNATCHSQUATCH

    using the process.start method will execute the application that is associated with the file extension of the file you passed in. What I would do is try something like WinZIP's command line zip program and use that exe's switches to unzip your files. process.start accepts a process to start and parameters to send.
     
  3. Dstruve

    Dstruve Private E-2

    I know that j# has some zip functionality, have you checked them out?
     
  4. Dstruve

    Dstruve Private E-2

    Also, SharpZipLib is good tool. It might be free.
     
  5. DeepaPraba

    DeepaPraba Private E-2

    There is a zip functionality in J#.It actually extracts & starts to install.

    As Kodo has mentioned. i had done the program by using winzip's commmand line arguement & included it in my C# program. It cools just unzips the package.

    thanks to all
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds