View Single Post
Old 11-27-2004, 08:05 AM  
offline
Junior Member
 
Join Date: Oct 2004
Posts: 7
Default [REQ] rar script

Hi Im looking for someone who either can help me or proably do this for me.

On my ioftpd server I got these files that can be compressed in the very small pices of the original size. So im looking for some kind of script who can archive(rar) these files with highest compression on winrar (-m5).
I thought I could do this myself but I run into a block who I cant get thru.

First I did a simple bat file that did following:
Code:
@start c:\program\winrar\rar.exe a -m5 filename.rar *.file
This bat file does what Im looking for except that It compress all the .files's. Im looking for a way to only compress a ceartain file, like say for example: mydocument.file. So to execute this bat file doesnt help me.

Is there any easy way to make such script that compresses a whatever file with RAR.exe with a simple cmd from ioftpd, like: site rar mydocument.file
Wich will compress this file -> mydocument.rar
offline is offline   Reply With Quote