AceLoc Posted June 14, 2006 Share Posted June 14, 2006 how do you ZIP a folder into a .ZIP///.RAR file? Thanks! -Me. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
ChrisL Posted June 14, 2006 Share Posted June 14, 2006 Search google for a program called Z7a it is a command line zip program which you can call in an Autoit script [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 14, 2006 Share Posted June 14, 2006 HI, try this: zip() Func zip() $oShell = ObjCreate("Shell.Application") $ZipAchive = @ScriptDir & "\" & 'XXXXXXX.zip'; Name of zip-file If IsObj($oShell) Then initZip($ZipAchive) $oDir = $oShell.NameSpace ($ZipAchive) $oDir.CopyHere (@ScriptDir & "\out") ; path to folder Sleep(100) ; set up when problems occur Else MsgBox(0, "Error", "Error creating Object.") EndIf EndFunc ;==>zipTXT Func initZip($zip_path_name) $init_zipString = Chr(80) & Chr(75) & Chr(5) & Chr(6) For $n = 1 To 18 $init_zipString = $init_zipString & Chr(0) Next $file = FileOpen($zip_path_name, 2) FileWrite($file, $init_zipString) FileClose($file) EndFunc ;==>initZip So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
AceLoc Posted June 14, 2006 Author Share Posted June 14, 2006 how do you ZIP a folder into a .ZIP///.RAR file?Thanks!-Me.cant find it :/ [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
BigDod Posted June 14, 2006 Share Posted June 14, 2006 Have a look at This Topic Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
jvanegmond Posted June 14, 2006 Share Posted June 14, 2006 (edited) Download and install WinRAR then right click the folder and select Add to Foldername.rar ^^ Edited June 14, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
AceLoc Posted June 14, 2006 Author Share Posted June 14, 2006 Download and install WinRAR then right click the folder and select Add to Foldername.rar ^^lol your such an idiot.and btw that Zip _Func gives a error. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
jvanegmond Posted June 14, 2006 Share Posted June 14, 2006 Have you tried with the latest Beta? github.com/jvanegmond Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 14, 2006 Share Posted June 14, 2006 HI, you need beta to run my code. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
AceLoc Posted June 14, 2006 Author Share Posted June 14, 2006 HI,you need beta to run my code.So long,Megathe problem is i need to be able to run it at other computerwithout... autoit installed in an .exe [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 14, 2006 Share Posted June 14, 2006 Yes, implement the func. The only install you need is to compile the script on your pc you need beta from autoit. Then the exe can be run on every windows pc without autoit installed!!! So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
AceLoc Posted June 14, 2006 Author Share Posted June 14, 2006 allright! thnx for helping again [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
AceLoc Posted June 14, 2006 Author Share Posted June 14, 2006 Yes,implement the func. The only install you need is to compile the script on your pc you need beta from autoit. Then the exe can be run on every windows pc without autoit installed!!!So long,Megai downloaded the BETA now but your script still dont work :/ [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 14, 2006 Share Posted June 14, 2006 Hi, come on. Nobody can help you, just saying: The source you gave me is bullshit. Show us what you tried and the error and I'm sure we will find a solution. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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