Using the 7zip command line, how do I create a folder in the archive?
I have an archive called "archive.7z" and it's completely empty.
Using the command line, I'd like to create folders inside the archive.
AND CREATE FOLDERS WITHIN THOSE FOLDERS.
I know it can be done using the GUI (Graphic User Interface) version but I need to be able to
do it from the command line version. Any idea how? Also on a separate note, I'd also like to know how to add a file, perhaps a text file located on my D:\ drive into one of the folders inside of the folders. Any help would be appreciated. If you can, please keep it simple and maybe give an example. I'm experienced with compression programs but I have Autism and sometimes have difficulty understanding things. -Thanks in advance. :)
There is no simple way.
You must use folder/file at disk:
cd /D d:\
7z a archive.7z Folder1
Thank you for your reply. If 7zip command line could do it, it would be the first of its kind. I can't find a compressor that can do it with command line. I am using it to help me build large databases since it can exceed the 260 character path name that Windows cannot easily exceed. -Thanks Igor it's been an honor. And thanks for creating such a great program. :)
Log in to post a comment.