I'm trying to write a batch file that will unarchive .7z files...extracting them to their original folder. The problem I'm having is adding the password to the code. Can someone help?
Thanks!
Here is the code so far...
@echo off
FOR /D /r %%F in ("*") DO (
pushd %CD%
cd %%F
FOR %%X in (*.7z) DO (
"C:\Program Files\7-zip\7z.exe" x "%%X"
)
popd
)