sandip1110
Active Member
Here is my code...
SET PATH=C:\Program Files\WinRAR;%PATH% i m using this path.. and its working ...
NOw please edit the code accordingly..
Thanks
---------- Post added at 09:40 PM ---------- Previous post was at 04:14 PM ----------
And same way.. can you provide us the auto-extract files with password protected.. and remove them after extracting..
Thanks in advance
---------- Post added 23rd May 2012 at 01:01 AM ---------- Previous post was 22nd May 2012 at 09:40 PM ----------
Bro, Its working...after making different folder...
But is it possible .. to add readme.txt file..
without making too many folders..
Means I have one main folder... in which files to be compressed.
in that folder i have to make separate folder ....thta's tiry job.
ANy Solution ??
Code:
@ECHO OFF
for /D %%f in ("C:\Users\Administrator\Downloads\NA\a\*") do copy "C:\Readme.txt" "%%f\"
cd C:\Users\Administrator\Downloads\NA\a
SET PATH=C:\Program Files\WinRAR;%PATH%
FOR /f "delims=" %%d IN ('DIR /B') DO WinRAR a -m0 -ep "C:\Users\Administrator\Downloads\NA\a\%%~nxd.rar" "%%~fd"
EXIT
SET PATH=C:\Program Files\WinRAR;%PATH% i m using this path.. and its working ...
NOw please edit the code accordingly..
Thanks
---------- Post added at 09:40 PM ---------- Previous post was at 04:14 PM ----------
And same way.. can you provide us the auto-extract files with password protected.. and remove them after extracting..
Thanks in advance
---------- Post added 23rd May 2012 at 01:01 AM ---------- Previous post was 22nd May 2012 at 09:40 PM ----------
Bro, Its working...after making different folder...
But is it possible .. to add readme.txt file..
without making too many folders..
Means I have one main folder... in which files to be compressed.
in that folder i have to make separate folder ....thta's tiry job.
ANy Solution ??