Sign in to follow this  
Followers 0
Skitty

Edit: Example on how to use rar.exe in your script

2 posts in this topic

#1 ·  Posted (edited)

Fore any one who got here from a Google search or from here.

Its super simple...

Run("rar a Data.rar *.*",@ScriptDir,@SW_HIDE)

Just make sure you compile your script together with rar.exe and install it to the script directory before you give the above code.

rar.exe is stand alone so you don't need anything else but the 300 something kb file and winrar doesn't have to be previously installed!

the above code will copy only files in the current directory and not sub directories..

If you wish to copy sub directories than have the rar.exe app install to the directory containing the directory you wan't to archive. say you wan't to archive C:\Program Files\mydata

you would install rar.exe to C:\Program Files and run a function like Run("rar a Data.rar MyData",@ScriptDir,@SW_HIDE) only after rar.exe was installed!

Hope I helped!Posted Image

Edited by xJSLRx

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I think the post delete option isn't working...

Edited by xJSLRx

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0