Search found 8 matches
- 10 Nov 2009 21:14
- Forum: DOS Batch Forum
- Topic: Compress RAR with Password
- Replies: 9
- Views: 10481
- 10 Nov 2009 06:52
- Forum: DOS Batch Forum
- Topic: Compress RAR with Password
- Replies: 9
- Views: 10481
!k wrote:More betterCode: 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
- 09 Nov 2009 09:24
- Forum: DOS Batch Forum
- Topic: Compress RAR with Password
- Replies: 9
- Views: 10481
- 09 Nov 2009 08:51
- Forum: DOS Batch Forum
- Topic: Compress RAR with Password
- Replies: 9
- Views: 10481
- 08 Nov 2009 17:44
- Forum: DOS Batch Forum
- Topic: Compress RAR with Password
- Replies: 9
- Views: 10481
- 07 Nov 2009 07:11
- Forum: DOS Batch Forum
- Topic: Compress RAR with Password
- Replies: 9
- Views: 10481
- 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...
- 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% )