Wollf Posted January 27, 2009 Share Posted January 27, 2009 (edited) i dont know many thing and example are not very easy to understand can anyone help me in that? i updated title now Edited February 8, 2009 by Wollf Link to comment Share on other sites More sharing options...
Developers Jos Posted January 27, 2009 Developers Share Posted January 27, 2009 Convert from what? Maybe Winrar ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Bert Posted January 27, 2009 Share Posted January 27, 2009 (edited) You would need to use WinRAR. It supports command line and graphic interfacehttp://www.rarlab.com/download.htm Edited January 27, 2009 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Wollf Posted January 28, 2009 Author Share Posted January 28, 2009 yes sorry i forgot to tell i have winrar and i dont exacly know how to rar files. i have made a dragand drop window where you can put defferent files and it will they path and i can run program with the value @GUI_DRAGFILE now how exactly i can make a file from there .rar? Link to comment Share on other sites More sharing options...
Spiff59 Posted January 28, 2009 Share Posted January 28, 2009 If you search these forums for "winrar" you'll find script examples, such as:WinWaitClose dosen't work [sOLVED], Wanted script to wait until WinRAR was done archiving. [sOLVED] Link to comment Share on other sites More sharing options...
Wollf Posted February 8, 2009 Author Share Posted February 8, 2009 thanks but can someone say me what files of winrar i need and what commands i need because this example is a bit complicated and i dont know where to start from Link to comment Share on other sites More sharing options...
BrettF Posted February 8, 2009 Share Posted February 8, 2009 http://www.autoitscript.com/forum/index.ph...t=0&start=0Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Wollf Posted February 8, 2009 Author Share Posted February 8, 2009 this is for 7zip is there any for winrar Link to comment Share on other sites More sharing options...
BrettF Posted February 8, 2009 Share Posted February 8, 2009 (edited) Oh my bad. How bout you try something (actually a few things)?Try work out what files are needed by winrar to run.Search the forums for your answer.Cheers,BrettUgh I'm felling nice.#612710http://www.autoitscript.com/forum/index.ph...8&hl=WinRarOnly took 30 seconds of searching Edited February 8, 2009 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Wollf Posted February 8, 2009 Author Share Posted February 8, 2009 i tried to rar something but i don exactly know how this command works so i need if anyone has time to describe me how this works since with examples it isnt very easy to understand and help file doesnt give many thing about that command i moved winrar folder at scriptdir too #include <Process.au3> _RunDOS ('"'&@scriptDir & '\WinRAR\Rar.exe" a '&'"'&@scriptDir & '\1.rar" ' & '"'& @scriptDir & '\01.txt"') Link to comment Share on other sites More sharing options...
junkew Posted February 8, 2009 Share Posted February 8, 2009 type rar -? on the commandline and you will see the optins Otherwise check in google FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Varian Posted February 8, 2009 Share Posted February 8, 2009 (edited) example: RunWait('"' & @scriptDir & '\WinRAR\Rar.exe" a "' & @scriptDir & '\1.rar" "' & @scriptDir & '\01.txt"', @Scriptdir & '\WinRAR', @SW_HIDE) Rar /? Usage: rar <command> -<switch 1> -<switch N> <archive> <files...> <@listfiles...> <path_to_extract\> <Commands> a Add files to archive c Add archive comment cf Add files comment cw Write archive comment to file d Delete files from archive e Extract files to current directory f Freshen files in archive i[par]=<str> Find string in archives k Lock archive l[t,b] List archive [technical, bare] m[f] Move to archive [files only] p Print file to stdout r Repair archive rc Reconstruct missing volumes rn Rename archived files rr[N] Add data recovery record rv[N] Create recovery volumes s[name|-] Convert archive to or from SFX t Test archive files u Update files in archive v[t,b] Verbosely list archive [technical,bare] x Extract files with full path <Switches> - Stop switches scanning ac Clear Archive attribute after compression or extraction ad Append archive name to destination path ag[format] Generate archive name using the current date ao Add files with Archive attribute set ap<path> Set path inside archive as Synchronize archive contents av Put authenticity verification (registered versions only) av- Disable authenticity verification check c- Disable comments show cfg- Disable read configuration cl Convert names to lower case cu Convert names to upper case df Delete files after archiving dh Open shared files ds Disable name sort for solid archive e[+]<attr> Set file exclude and include attributes ed Do not add empty directories en Do not put 'end of archive' block ep Exclude paths from names ep1 Exclude base directory from names ep2 Expand paths to full ep3 Expand paths to full including the drive letter f Freshen files hp[password] Encrypt both file data and headers id[c,d,p,q] Disable messages ieml[addr] Send archive by email ierr Send all messages to stderr ilog[name] Log errors to file (registered versions only) inul Disable all messages ioff Turn PC off after completing an operation isnd Enable sound k Lock archive kb Keep broken extracted files m<0..5> Set compression level (0-store...3-default...5-maximal) mc<par> Set advanced compression parameters md<size> Dictionary size in KB (64,128,256,512,1024,2048,4096 or A-G) ms[ext;ext] Specify file types to store n<file> Include only specified file n@ Read file names to include from stdin n@<list> Include files in specified list file o+ Overwrite existing files o- Do not overwrite existing files oc Set NTFS Compressed attribute os Save NTFS streams ow Save or restore file owner and group p[password] Set password p- Do not query password r Recurse subdirectories r0 Recurse subdirectories for wildcard names only ri<P>[:<S>] Set priority (0-default,1-min..15-max) and sleep time in ms rr[N] Add data recovery record rv[N] Create recovery volumes s[<N>,v[-],e] Create solid archive s- Disable solid archiving sfx[name] Create SFX archive si[name] Read data from standard input (stdin) t Test files after archiving ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format tk Keep original archive time tl Set archive time to latest file tn<time> Process files newer than <time> to<time> Process files older than <time> ts<m,c,a>[N] Save or restore file time (modification, creation, access) u Update files v Create volumes with size autodetection or list all volumes v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1] vd Erase disk contents before creating volume ver[n] File version control vn Use the old style volume naming scheme vp Pause before each volume w<path> Assign work directory x<file> Exclude specified file x@ Read file names to exclude from stdin x@<list> Exclude files in specified list file y Assume Yes on all queries z<file> Read archive comment from file Edited February 8, 2009 by Varian Link to comment Share on other sites More sharing options...
Wollf Posted February 25, 2009 Author Share Posted February 25, 2009 (edited) <command> -<switch 1> -<switch N> <archive> <files...> <@listfiles...> <path_to_extract\>\ RunWait('"' & @scriptDir & '\WinRAR\Rar.exe" a "' & @scriptDir & '\1.rar" "', @Scriptdir & '\rardirectory', @SW_HIDE) some questions whats the '"' at start, also where we put those " or ' and why the @scriptDir & '\WinRAR\Rar.exe" is for the use to rar the file a is for add "' & @scriptDir & '\1.rar" "' that is the file we want to rar @Scriptdir & '\rardirectory' is where to put the file after it is rar? do i need always need #include <Process.au3> i tried use that but it didnt worked well #include <Process.au3> RunWait('"' & @scriptDir & '\WinRAR\Rar.exe" a "' & @scriptDir & '\1.txt" "', @Scriptdir & '\rardirectory', @SW_HIDE) Edited February 25, 2009 by Wollf Link to comment Share on other sites More sharing options...
BrettF Posted February 25, 2009 Share Posted February 25, 2009 (edited) But isn't it -<Command> See the '-'? Try that. Cheers, Brett EDIT: The rest of your question can be answered by SEARCHING for it. Something so far you have failed to do. Still. Edited February 25, 2009 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Wollf Posted February 25, 2009 Author Share Posted February 25, 2009 (edited) But isn't it-<Command>See the '-'?Try that.Cheers,BrettEDIT:The rest of your question can be answered by SEARCHING for it. Something so far you have failed to do. Still.with search i mostly find examples that doesnt really say to me anything since they are more complicated, but couldnt found any place topic that says how exactly rar works with any examplealso what command i use to rar files?i mean command here '"' Edited February 25, 2009 by Wollf Link to comment Share on other sites More sharing options...
DaRam Posted February 25, 2009 Share Posted February 25, 2009 IMHO - You need to analyze what you want to do, look at the WinRAR help - specifically command line usage. Familiarize yourself with using WinRAR from the Console (DOS Prompt) and then come back with questions.with search i mostly find examples that doesnt really say to me anything since they are more complicated, but couldnt found any place topic that says how exactly rar works with any examplealso what command i use to rar files?i mean command here '"' Link to comment Share on other sites More sharing options...
Bert Posted February 25, 2009 Share Posted February 25, 2009 Don't take this the wrong way, but we have tried over and over to point you where you need to go. The RAR helpfile which is text base is not hard to understand. The links that have provided to you are also not hard to understand. I'm not calling you stupid by any means, but your repeating request to have it explained to you strongly suggest you do not have the brain power to understand basic computer concepts. If we are incorrect in this assumption, then put some effort forth, try to wrap your mind around this basic stuff and prove us wrong. If you wine and complain that I'm being harsh, then you will be validating our assumptions about you being not able to understand simple computer concepts. I would really like for you to prove us wrong. I suspect you have more ability than you think. In saying that, review and do the following:I strongly suggest you EXPERIMENT with everything you have been shown. Try things. If it doesn't work, TRY AGAIN. Then TRY AGAIN. Start simple, and and add one thing to see what happens. This is what most of us do when we learn new computer stuff and not quite get it right away. Try will you? The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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