Skitty Posted January 5, 2011 Share Posted January 5, 2011 (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\mydatayou 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! Edited January 6, 2011 by xJSLRx Link to comment Share on other sites More sharing options...
Skitty Posted January 6, 2011 Author Share Posted January 6, 2011 (edited) I think the post delete option isn't working... Edited January 6, 2011 by xJSLRx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now