7 zip creating an additional folder named "+"

  • Hey guys, I'm using an execute process task to unzip a password protected zip file. I'm able to unzip and create the file in the target folder but it creates a new folder named "+" which isn't desired. I double checked my ssis variable with the Target UNC and theres no additional "+". Below are my parameters. Can someone help me stop it from creating this additional folder?

    Executable: C:\Program Files\7-Zip\7z.exe

    Arguments: e -o+ -pMyPassword ""

    Working Directory: \\MyUNC\folder\folder\targetfolder

  • dndaughtery (12/13/2016)


    Hey guys, I'm using an execute process task to unzip a password protected zip file. I'm able to unzip and create the file in the target folder but it creates a new folder named "+" which isn't desired. I double checked my ssis variable with the Target UNC and theres no additional "+". Below are my parameters. Can someone help me stop it from creating this additional folder?

    Executable: C:\Program Files\7-Zip\7z.exe

    Arguments: e -o+ -pMyPassword ""

    Working Directory: \\MyUNC\folder\folder\targetfolder

    there's a plus sign(+) right there in your arguments.

    as i remember, the order of the parameters for 7zip you have listed is

    e -o{Directoryname} -p{MyPassword}

    so the plus is being interpreted as the relative directory name.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • I'm using expressions and that did the trick, thanks

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply