|
Full Version: Rar By Cmd
I want to know how can I add a movie for example to rar archives by command line in sizes of 15MB and view a comment when you open the rar to avoid leeching. Thanks
this is hardly the right place for this question but what the hell
make a file called comment.txt, put your comment in this file and put it in c drive root or wherever you want, highlight the movie you want to compress and right click + add to archive (winrar) enter filename and check the boxes marked: delete after archiving, create solid archive and put recovery record in the box marked split to volumes, bytes enter 15000000 (equates to 14.3mb) click on the advanced tab and check the box for old style volume names click on comment tab and enter the path to your comment.txt file (c:\comment.txt) click ok and you`re done EDIT: oops sorry just noticed you want to do this in dos and i`ve never actually tried that so i dunno if you can
look for unrar.exe and take a look at the commands
I have it, but i donīt understand it.
http://bulba.at.kz/UnRARTool.exe This is what i see on ms-dos C:\Unrar>unrar.exe UNRAR 3.11 freeware Copyright Đ 1993-2003 Eugene Roshal Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...> <@listfiles...> <path_to_extract\> <Commands> e Extract files to current directory l[t] List archive [technical] p Print file to stdout t Test archive files v[t] Verbosely list archive [technical] 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 ap<path> Set path inside archive 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 dh Open shared files ep Exclude paths from names f Freshen files idp Disable percentage display ierr Send all messages to stderr inul Disable all messages ioff Turn PC off after completing an operation kb Keep broken extracted files o+ Overwrite existing files o- Do not overwrite existing files ow Save or restore file owner and group p[password] Set password p- Do not query password r Recurse subdirectories ri<P>[:<S>] Set priority (0-default,1-min..15-max) and sleep time in ms ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format tn<time> Process files newer than <time> to<time> Process files older than <time> u Update files v Create volumes with size autodetection or list all volumes ver[n] File version control vp Pause before each volume 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 C:\Unrar>
just try
unrar <archive> <path_to_extract\> example : unrar blaat.rar C:\blaat\ heh sry the aboven wont work indeed
Then use this command : rar32 a -v15000 c:\archive.rar c:\file.avi a = Add to Archive -v = Switch It will make archives of 15 Mo with the form : archive.part1.rar Enjoy
If u use rar.exe under cmd prompt
RAR 3.00 Copyright © 1993-2002 Eugene Roshal 14 May 2002 Shareware version Type RAR -? for help x Extract files with full path simply rar x archivename.rar will extract what u need including any dirs inside
i think on the winrar homepage is a commandline-tool for packing as well, dosrar or something like that
wont somebody trash this?!?
whats next? how can i use dir command to see content of a directory?
Well, for once, that question is pretty interesting, I didn't know how to use it in dos (and probably lots of us didn't know) And since winrar is a legal software (that you got to buy) I don't see why this should be trashed....or should we trash every post about how to use a certain tool ? Oh well...
Is there any builtin command line tool in windows 2003, XP for compressing files ?
CAB is fine also
Ups i m sorry boys but i think the question was how to rar !! not unrar !!
Hum should i say RTFM ?? it is in winrar help... Bye This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
|
||||||