7zip unzipping fails when destination path is given by parameter [Powershell]

后端 未结 1 1161
甜味超标
甜味超标 2021-01-26 11:26

I am automating installation through a Powershell script and am having some issues with unzipping to a path given by a parameter rather than being hardcoded. The unzipping seems

相关标签:
1条回答
  • 2021-01-26 12:04

    Try it this way:

    & $7zipexe x $zipFile `-p$zipFilePassword `-o$path -y
    
    0 讨论(0)
提交回复
热议问题