Hi adding file on existing rar file using batch is working but .zip file doesn't support winrar so what is the other way to do this? Thank you.
Here's the code of batch file adding file on existing .rar Add a single file to each rar file in a folder
Hi adding file on existing rar file using batch is working but .zip file doesn't support winrar so what is the other way to do this? Thank you.
Here's the code of batch file adding file on existing .rar Add a single file to each rar file in a folder
Take a look at this and the zipjs.bat :
// adds content to a zip file
call zipjs.bat addToZip -source C:\some_file.txt -destination C:\myDir\myZip.zip\InzipDir -keep no
call zipjs.bat addToZip -source C:\some_file.txt -destination C:\myDir\myZip.zip
Update
if you want to execute this over all zips in a directory:
@echo off
pushd "C:\Users\userss\Downloads\Folder\"
for %%a in (*zip) do (
call zipjs.bat addToZip -source "readme.txt" -destination "%%~fa"
)
popd