Hi.
7-zip v20.02 alpha, Windows Server 2019
I want to use "7zG.exe" to extract an archive file into a specific destination path without creating a subfolder with the base file name.
E.g.: The source file to extract is: R:\Discord [9.09.2019].zip
R:\Discord [9.09.2019].zip
I want it to be extracted to: R:\Discord\
R:\Discord\
7zG.exe x "R:\Discord [9.09.2019].zip" -o"R:\Discord" -r -aoa
But this would create: R:\Discord\Discord [9.09.2019]\[all files and folders from the archive]
R:\Discord\Discord [9.09.2019]\[all files and folders from the archive]
I want this instead: R:\Discord\[all files and folders from the archive]
R:\Discord\[all files and folders from the archive]
Can this be achieved?
You can extract and then rename folder.
Ok, thanks.
Log in to post a comment.
Hi.
7-zip v20.02 alpha, Windows Server 2019
I want to use "7zG.exe" to extract an archive file into a specific destination path without creating a subfolder with the base file name.
E.g.: The source file to extract is:
R:\Discord [9.09.2019].zip
I want it to be extracted to:
R:\Discord\
7zG.exe x "R:\Discord [9.09.2019].zip" -o"R:\Discord" -r -aoa
But this would create:
R:\Discord\Discord [9.09.2019]\[all files and folders from the archive]
I want this instead:
R:\Discord\[all files and folders from the archive]
Can this be achieved?
You can extract and then rename folder.
Ok, thanks.