@echo on
cls
setlocal enabledelayedexpansion
cd /d F:\FILES\Epub
for /r %%a in (*.rar) do "C:\Program Files\WinRAR\WinRAR.exe" cw -y "%%a" "E:\UPL\%%~na.txt"
exit
-----------------
Name Files: Files.rar , this files have a comment and i use this Batch Script to Extract the comment in GUI Winrar
its Working fine , I use THIS Batch files to read the comment
for /r F:\FILES\Epub %%a in (*.rar) do "C:\Program Files\WinRAR\WinRAR.exe" cw -y "%%a" "E:\UPL\%%~na.txt"
instead of files, i want to put in a Variable and use this: To eXtract the files with the password Found
FILE:"E:\UPL\%%~na.txt"
--Comment in the Winrar------------------------
Welcome, to get files its passworded
Pw: LogoX
Use this password
-----------------------------------------------
for /r F:\FILES\Epub %%a in (*.rar) do "C:\Program Files\WinRAR\WinRAR.exe" x -y -p%password% "%%a" d:\temp\
this way the Batch script look the the comment and FOUND Pw:LogoX using winrar to Extract it !
But do not known how to do !
cls
setlocal enabledelayedexpansion
cd /d F:\FILES\Epub
for /r %%a in (*.rar) do "C:\Program Files\WinRAR\WinRAR.exe" cw -y "%%a" "E:\UPL\%%~na.txt"
exit
-----------------
Name Files: Files.rar , this files have a comment and i use this Batch Script to Extract the comment in GUI Winrar
its Working fine , I use THIS Batch files to read the comment
for /r F:\FILES\Epub %%a in (*.rar) do "C:\Program Files\WinRAR\WinRAR.exe" cw -y "%%a" "E:\UPL\%%~na.txt"
instead of files, i want to put in a Variable and use this: To eXtract the files with the password Found
FILE:"E:\UPL\%%~na.txt"
--Comment in the Winrar------------------------
Welcome, to get files its passworded
Pw: LogoX
Use this password
-----------------------------------------------
for /r F:\FILES\Epub %%a in (*.rar) do "C:\Program Files\WinRAR\WinRAR.exe" x -y -p%password% "%%a" d:\temp\
this way the Batch script look the the comment and FOUND Pw:LogoX using winrar to Extract it !
But do not known how to do !
Comment