Activity Stream
48,167 MEMBERS
6889 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1.     
    #11
    Member
    Website's:
    facebook.com
    there are so many options for using batch files in windows, you can do virtually anything you want... people underestimate the use of batch files...

    ---------- Post added 19th May 2012 at 08:46 AM ---------- Previous post was 18th May 2012 at 11:36 PM ----------

    In regards to your PM new-comer....

    @ECHO OFF

    cd C:\directory_with_files_you_want_to_compress

    SET PATH=C:;C:\Program Files (x86)\WinRAR;C:\Windows\system32;C:\Windows;C:\Win dows\System32\Wbem;%PATH%

    FOR /f "delims=" %%d IN ('DIR /B') DO WinRAR a -m0 -ep -df -x*.rar "C:\where_you_want_to_save_new_rar_files\%%~nxd.ra r" "%%~fd"


    move /-y "C:\directory_with_files_you_want_to_compress\*.ra r" "C:\where_you_want_to_save_new_rar_files\"

    EXIT
    use this:

    where -x*.rar means ?exclude all .rar files?. You can add more files to exclude for example add another -x*.zip

    Since you excluded all rar files, they will stay in the original directory, thats what the next code does, move, this is simply moving all .rar files to the same directory where the compressions are being made.

    Hope that helped...
    All right everyone, line up alphabetically according to your height.

  2.   Sponsored Links

  3.     
    #12
    Member
    Is it possible to Split RAR files in 8 Equal Part or simply split into equal part of desired number ?

    Thanks in advance

  4.     
    #13
    Member
    Website's:
    facebook.com
    FOR /f "delims=" %%d IN ('DIR /B') DO WinRAR a -m0 -ep -df -x*.rar -v100m "C:\where_you_want_to_save_new_rar_files\%%~nxd.ra r" "%%~fd"
    -v100m will save multivolumes of 100m. Or change to whatever you need..
    All right everyone, line up alphabetically according to your height.

  5.     
    #14
    Member
    Website's:
    full-porn.com bestporngifs.com
    very good

  6.     
    #15
    Member
    Thanks bro...

    You're really awesome.. it works to split 100 mb volumes..

    now can i have this feature :

    add spam files.. into rar like mustread.txt.

    It will add particular file into all rar files..

    Thanks in advance

  7.     
    #16
    Member
    Website's:
    facebook.com
    i dont understand what you mean....
    explain...

    u mean have one basic file, ej. readme.txt, and add into all compressed files?
    All right everyone, line up alphabetically according to your height.

  8.     
    #17
    Member
    bro i mean to say

    suppose i ve one folder and it has five files to be rar

    now in every rar file i want add one txt file from another folder....

  9.     
    #18
    Member
    Website's:
    facebook.com
    This is what you can do:


    @ECHO OFF

    for /D %%f in ("C:\directory_with_files_you_want_to_compress\*") do copy "C:\directory_with_readme.txt\readme.txt" "%%f\"

    cd C:\directory_with_files_you_want_to_compress

    SET PATH=C:;C:\Program Files (x86)\WinRAR;C:\Windows\system32;C:\Windows;C:\Win dows\System32\Wbem;%PATH%

    FOR /f "delims=" %%d IN ('DIR /B') DO WinRAR a -m0 -ep -df -v100m -x*.rar "C:\where_you_want_to_save_new_rar_files\%%~nxd.ra r" "%%~fd"


    EXIT
    This new line will add the readme.txt to all original folders before compression. It then moves on to compress each folder to the specifications discussed earlier.

    Notice that the readme.txt is located in a diferent directory, that is so it will not be compressed and removed.
    All right everyone, line up alphabetically according to your height.

  10.     
    #19
    Member
    Tried bt not working !

    Any Solution !??

  11.     
    #20
    Member
    Website's:
    facebook.com
    it is working....

    you are just not doing it right....paste your code here....
    All right everyone, line up alphabetically according to your height.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Selling] Wautoposter Fully Automated Bot Script RSS FEED Auto Download Auto Upload
    By jpavsex in forum Completed Transactions
    Replies: 302
    Last Post: 10th Jul 2011, 09:30 AM
  2. [Selling] Wautoposter Automated Uploading Script Auto Download Auto Upload $9/month
    By jpavsex in forum Completed Transactions
    Replies: 83
    Last Post: 3rd Jul 2011, 05:06 AM
  3. [Buying] Auto Download Auto Upload Auto Post
    By arkinyildiz in forum Completed Transactions
    Replies: 20
    Last Post: 7th May 2011, 03:28 PM
  4. Need php cronjob to auto dlete files after XX hours [$5]
    By kohkindachi in forum Technical Help Desk Support
    Replies: 13
    Last Post: 16th Sep 2010, 04:24 AM

Tags for this Thread

BE SOCIAL