Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Funny Photos B.Tech Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter




SELF-EXTRACTING ARCHIVES


Posted Date: 22 Mar 2008    Resource Type: Articles/Knowledge Sharing    Category: Computer & Technology

Posted By: arunkumar       Member Level: Gold
Rating:     Points: 5



The wide reach of computers to people
of all ages and backgrounds has
largely been affected by the userfriendliness
of software. Yet, this factor is
very subjective—it increases with exposure
to the software and with tips from
other users. In today’s connected world,
e-mail is the the de-facto way of transferring
files. Network administrators and
long-time PC users still try and evangelise
the use of FTP (File Transfer Protocol), but
the apparent ease of e-mail is too good to
let go. Most people have stopped urging
others to use FTP, but they are still trying
to share practices that will reduce the load
on e-mail. One such advice is to compress
the files you want to send by e-mail.
New users might be perplexed by the
Winzip or PKZip interfaces—one can’t
extract a file by just right-clicking on it in
an e-mail. WinRAR archives score over the
Zip format by allowing you to add instructional
guides, and the archives are also
smaller. Also, this is a much more efficient
way to distribute small programs instead
of using commercial installers that make
the installation unnecessarily large.
Compression
As with Winzip, you can right-click
files in Windows Explorer to add them to
RAR archives, but this will not give you
access to options that optimise compression.
If you are compressing very large or
a sizeable number of files, you could gain
a lot by changing the compression
options. Select the files or folders you
want to compress and click Add.
Set the compression method to
Best and enable the Solid archive
option. If you are compressing multimedia
files such as uncompressed wave files
(files compressed with multimedia
codecs will not afford noticeable compression
ratios) or images, enable Multimedia
Compression. On the Advanced
tab, choose the dictionary size. Generally,
the higher the dictionary size, the
greater the compression.
Self-extracting options
Creating a self-extracting archive
when compressing with WinRAR is as simple
as enabling the ‘Create SFX archive’
option on the General tab. However, this
will create simple SFXs, that will be no better
than those created over the Zip format.
For added functionality, add script to the
archive by writing commands in the Comments
box. Type each command on a separate
line. You can use any combinations
of the commands, depending on your
purpose for the archive.
Title= sets the title of the extraction<BR>window. For example, Title=Vacation<BR>Photos.<BR>Text=<message> displays a message in<BR>the extraction window when the EXE is<BR>double-clicked. You can repeat the command<BR>several times to display multiple<BR>lines of text. Use this to give a detailed<BR>description of the archive and instructions<BR>to the user.<BR>Path=<path> sets the default path<BR>where the files will be extracted. You can<BR>enter the entire path including the drive<BR>letter, or specify a relative path. Relative<BR>paths are always extracted to the Program<BR>Files folder. For example, Path=C:\My<BR>Documents\Vacation Photos.<BR>Silent extracts all files to the default<BR>path without providing any options and<BR>notifications to the user. If the Path command<BR>is not used, it will extract all files to<BR>the current folder. Using this is not<BR>advised without the Setup command, as it<BR>makes usage less intuitive.<BR>If Overwrite=[0, 1, 2] is set to 0, the user<BR>will be asked before overwriting the existing<BR>files. If it is set to 1 or no number is<BR>specified, all files will be overwritten without<BR>confirmation; if it is set to 2, all the<BR>existing files will not be overwritten.<BR>Delete=<filename> deletes the specified<BR>file from the destination before<BR>extracting any files. You can use as many<BR>Delete commands as you want.<BR>Setup=<program> is a powerful option<BR>that can credit usability to your archives.<BR>The specified program will launch automatically<BR>after extraction is complete.<BR>Again, you can specify an absolute path<BR>or simply give the program name.<BR>With TempMode=[Question][@Title],<BR>the SFX will create a temporary folder,<BR>extract all files to it, start the program<BR>specified in the Setup command and<BR>remove the temporary folder with all its<BR>contents after completing the Setup program.<BR>This option is generally used to distribute<BR>programs. The optional Question<BR>and Title parameters can be used for the<BR>user to confirm installation</font></span> <br /><br /><br /> <script type="text/javascript"><!-- google_ad_client = "pub-4797889710020333"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text"; google_ad_channel = ""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "000000"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br /> <span id="ctl00_ContentPlaceHolder1_lblRating"><font color="DarkBlue"></font></span> </td> </tr> <tr> <td colspan=3 class=resourceBar> <h1>Responses</h1> </td> </tr> <span id="ctl00_ContentPlaceHolder1_lblResultTable" class="v11"><tr bgcolor=white><td colspan='3'><BR><font color=orangered><B>No responses found. Be the first to respond and make money from <a href='../adsense/'>revenue sharing program</a>.</b></font><BR><BR></td></tr></span></table> <table width='100%' cellpadding="5" cellspacing=1 bgcolor="#ccff99"> <tr> <td class=resourceBar colspan=2 align=CENTER><b>Feedbacks</b>       <input type="submit" name="ctl00$ContentPlaceHolder1$btnSubscribe" value="Subscribe to Feedbacks" id="ctl00_ContentPlaceHolder1_btnSubscribe" disabled="disabled" /> <input type="submit" name="ctl00$ContentPlaceHolder1$btnUnSubscribe" value="Un Subscribe" id="ctl00_ContentPlaceHolder1_btnUnSubscribe" disabled="disabled" /> </td> </tr> <tr bgcolor="white"> <td colspan="3"> <table height="50" cellpadding=2 cellspacing=2> <tr> <td><font size=4><b>Popular Tags</b></font></td> <td width="100"> </td> <td><a href='/pages/WhatAreTags.aspx'>What are tags ?</a></td> <td width="60"> </td> <td align="center"><a href='/tags/'>Search Tags</a></td> <td width="60"> </td> <td> <div id="ctl00_ContentPlaceHolder1_pnlTag"> <input name="ctl00$ContentPlaceHolder1$txtTag" type="text" maxlength="50" size="25" id="ctl00_ContentPlaceHolder1_txtTag" /><input type="submit" name="ctl00$ContentPlaceHolder1$btnAddTag" value="Add Tag" id="ctl00_ContentPlaceHolder1_btnAddTag" disabled="disabled" /><span id="ctl00_ContentPlaceHolder1_lblAddTag"><a href='/members/Login.aspx?ReturnUrl=/resources/ViewResource.aspx?resourceId=12827&'>Sign In</a></span> </div> </td> </tr> </table> <font color="blue">(No tags found.)</font> </td> </tr> <tr bgcolor=white> <td valign="TOP" colspan="3"> <br /> <h2>Post Feedback</h2> <br /> <table> <tr> <td valign="top"> <!-- Accipiter Ad --> <SCRIPT LANGUAGE="JavaScript"> <!-- Hide from old browsers // Modify to reflect site specifics adserver = "http://ads.ozonemedia.co.in"; target = "/SITE=INDIASTUDYCHANNEL/AAMSZ=300x250"; // Cache-busting and pageid values random = Math.round(Math.random() * 100000000); if (!pageNum) var pageNum = Math.round(Math.random() * 100000000); document.write('<SCR'); document.write('IPT SRC="' + adserver + '/jserver/acc_random=' + random + target + "/pageid=" + pageNum + '">'); document.write('</SCR'); document.write('IPT>'); // End Hide --> </SCRIPT> <NOSCRIPT> <A HREF="http://ads.ozonemedia.co.in/adclick/SITE=INDIASTUDYCHANNEL/AAMSZ=300x250/pageid=1"> <IMG SRC="http://ads.ozonemedia.co.in/nserver/SITE=INDIASTUDYCHANNEL/AAMSZ=300x250/pageid=1"></A> </NOSCRIPT> </td> <td valign="top"> </td> </tr> </table> <font color=brown>This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.</font> <br /> <span id="ctl00_ContentPlaceHolder1_lblResponseMessage"><b>You must <a href='../members/Login.aspx?ReturnUrl=/resources/ViewResource.aspx?resourceId=12827&'>Sign In</a> to post a response.</b></span> </td> </tr> <tr bgcolor=white> <td valign="top" colspan="3"> <table> <tr> <td valign="top"> <table cellspacing="5" cellpadding="6"> <tr> <td bgcolor="#009900" width="15" height="15"></td> <td>Next Resource: <a href='12826-INTENSE-graFX.aspx'>INTENSE graFX!</a></td> </tr> <tr> <td bgcolor="#0066ff" width="15" height="15"></td> <td>Previous Resource: <a href='12828-TIPS-AND-TRICKS-WINDOWS.aspx'>TIPS AND TRICKS: WINDOWS 98</a></td> </tr> <tr> <td bgcolor="#ff0033" width="15" height="15"></td> <td><a href='index.aspx'>Return to Discussion Resource Index</a> </td> </tr> <tr> <td bgcolor="orange" width="15" height="15"></td> <td><a href='PostResource.aspx'>Post New Resource</a> </td> </tr> <tr> <td bgcolor="orange" width="15" height="15"></td> <td>Category: <a href='Category15.aspx'>Computer & Technology</a> </td> </tr> </table> <br /><br /> Post resources and <a href='/content/?PageKey=PostResourcesAndEarnMoney'>earn money</a>! </td> <td width=30>   </td> <td valign="top"> <BR><B>Related Resources</B><UL><LI><a href='13925-ANTIVIRUS-SOFTWARE.aspx'>ANTIVIRUS SOFTWARE</a><BR><BR><LI><a href='12072-C-program-for-swapping-Numbers.aspx'>C++ program for swapping 2 Numbers</a><BR><BR><LI><a href='20818-How-Get-IP-Address-Of-A-Machine.aspx'>How to Get IP Address Of A Machine</a><BR><BR><LI><a href='35898-audio-file-converter.aspx'>audio file converter</a><BR><BR><LI><a href='14168-c-c-interview-questions.aspx'>c,c++ interview questions</a><BR><BR></UL> </td> </tr> </table> </td> </tr> </table> <br /> <!-- Accipiter Ad --> <SCRIPT LANGUAGE="JavaScript"> <!-- Hide from old browsers // Modify to reflect site specifics adserver = "http://ads.ozonemedia.co.in"; target = "/SITE=INDIASTUDYCHANNEL/AAMSZ=728X90"; // Cache-busting and pageid values random = Math.round(Math.random() * 100000000); if (!pageNum) var pageNum = Math.round(Math.random() * 100000000); document.write('<SCR'); document.write('IPT SRC="' + adserver + '/jserver/acc_random=' + random + target + "/pageid=" + pageNum + '">'); document.write('</SCR'); document.write('IPT>'); // End Hide --> </SCRIPT> <NOSCRIPT> <A HREF="http://ads.ozonemedia.co.in/adclick/SITE=INDIASTUDYCHANNEL/AAMSZ=728X90/pageid=1"> <IMG SRC="http://ads.ozonemedia.co.in/nserver/SITE=INDIASTUDYCHANNEL/AAMSZ=728X90/pageid=1"></A> </NOSCRIPT> </td> <td width='50' valign=TOP> <B>Watch TV Channels</b> <UL class='activeList'> <LI><a target=_blank href="http://windowstreams.com/member/go.php?r=3866&i=b0">Watch Asianet online</a></LI><LI><a target=_blank href="http://windowstreams.com/member/go.php?r=3866&i=b0">Kairali TV in Internet</a></LI><LI><a target=_blank href="http://windowstreams.com/member/go.php?r=3866&i=b0">Surya TV online</a></LI><LI><a target=_blank href="http://windowstreams.com/member/go.php?r=3866&i=b0">Amritha TV Channel</a></LI></UL><BR> <script type="text/javascript">addthis_pub = 'indiastudychannel';</script> <a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="" /></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script> <BR><BR> <script type='text/javascript'><!--//< ![CDATA[ var m_u = (location.protocol=='https:'?'https://www.vizury.com/campaign/showad.php':'http://www.vizury.com/campaign/showad.php'); document.write ("<scr"+"ipt type='text/javascript' src='"+m_u); document.write ("?creativesize=9"); document.write ("&publisher_client_id=5520"); document.write ("&loc=" + escape(window.location)); if (document.referrer) document.write ("&rfr=" + escape(document.referrer)); document.write ("'><\/scr"+"ipt>"); //]]>--></script> </td> </tr> </table> <br> <CENTER> <FONT color="darkgray"> <a href='/general/Contactus.aspx'>Contact Us</a>    <a href='http://spreadsheets.google.com/ccc?key=pBaO2lpsGT3nniEdm8pg3Mw' target="_blank">Editors</a>    <a href='/general/PrivacyPolicy.aspx'>Privacy Policy</a>    <a href='/general/TermsOfUse.aspx'>Terms Of Use</a>    <br><br> SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved. </FONT> <br /><br /> </CENTER> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-4428394-2"); pageTracker._initData(); pageTracker._trackPageview(); </script> </form> </body> </html>