Answer the question
In order to leave comments, you need to log in
How to add a file to an archive?
There are many archives, how to add a file inside them?
Preferably automatically to all at once
Answer the question
In order to leave comments, you need to log in
Write a batch file with the following content:
Adds the new_file.txt file
to all rar archives found in the C:\Arhives folder , the "-ep" switch indicates that the file must be added without paths.
If the archives are zip, then write *.zip instead of *.rar.
For other archivers, the command to add to the archive and the keys may be different, but this can be easily found in the help for a particular archiver.
What type of archive? If 7ZIP supports creating this type of archive, use its console version 7z.exe
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question