Search found 8 matches

by tirano
10 Nov 2009 21:14
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

More better for /f %%I in ('dir /b /s *.pdf') do start "" /wait "%ProgramFiles%\WinRAR\WINRAR.exe" a -t -df -ep1 -r -v102400 -ibck -hp"khmerw" -- "%%I.rar" "%%I" change -df to -dr for move file to recycle bin http://www.rarlab.com/rarnew.htm
by tirano
10 Nov 2009 06:52
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

!k wrote:More better

Code: Select all

for /f %%I in ('dir /b /s *.pdf') do start "" /wait "%ProgramFiles%\WinRAR\WINRAR.exe" a -t -df -ep1 -r -v102400 -ibck -hp"khmerw" -- "%%I.rar" "%%I"



thank big man
by tirano
09 Nov 2009 09:24
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

i have 1 problem

folder have space of file name and folder
by tirano
09 Nov 2009 08:51
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

thnx

how to create have function wait to archive. (run 1 by 1, not run all)
by tirano
08 Nov 2009 17:44
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

sorry sir my english poor thnx for reply for %%I in ( 001 \*.pdf a01 \*.pdf ab \*.pdf 4\*.pdf) do start "" "%ProgramFiles%\WinRAR\WINRAR.exe" a -ep1 -r -v102400 "%%I.rar" -ibck "%%I" -hp"khmerw" all text bold generate all time when compress file. i n...
by tirano
07 Nov 2009 07:11
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

please help me :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?:
by tirano
04 Nov 2009 09:44
Forum: DOS Batch Forum
Topic: Compress RAR with Password
Replies: 9
Views: 10481

Compress RAR with Password

ex: i have folder f1 = 001 f2 = a01 f3 = ab f4 = 4 all folder have file pdf i try use code in bellow it can compress but copy file bat to all folder for %%I in (*.pdf) do "%ProgramFiles%\WinRAR\WINRAR.exe" a -ep1 -r -v102400 "%%I.rar" -ibck "%%I" -hp"khmerw" i...
by tirano
12 Sep 2009 23:51
Forum: DOS Batch Forum
Topic: bat move file problem
Replies: 0
Views: 4914

bat move file problem

what happen if i run my bat in cmd not bad but i 1 run bat file. when run error syntax @echo off for %%I in (*.jpg) do ( set str="%%I" set dire=%str:.jpg=% mkdir %dire% move "%%I" %dire% set rar=%str:.jpg=.rar% move %rar% %dire% )