New
#1
7zip--How To Extract Subfolders and Subfiles from a zip file
I'm trying to use Ketarin to create a portable rescue drive. I'm trying to figure out a way to extract Complete Internet Repair with it's full structure, minus the main folder in the zip file which is named "ComIntRep_{version}." The main files and folders are in the ComIntRep folder, but with each update, that folder name is going to change. I was hoping that there is a way to extract everything within the ComIntRep folder while still maintaining the original structure.
Here is the code I use to extract everything, including the ComIntRep folder:
Here is what the structure of the original zip looks like:Code:7z x "{file}" -o"{root}SyMenu\ProgramFiles\Complete Internet Repair\" -y del /q "{root}SyMenu\ProgramFiles\Complete Internet Repair\*.zip"
All I want to do is extract the Docs folder, Language folder, Themes folder, the exe files, and the ini file into my output directory. With the code that I have, the output directory looks like this:
"{root}SyMenu\ProgramFiles\Complete Internet Repair\ComIntRep_3950"
I'm at a loss on what I need to do. Any help would be greatly appreciated.