How can make a RAR file with command prompt (CMD)...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Soheyl
    Forum Member
    • Nov 2005
    • 46

    How can make a RAR file with command prompt (CMD)...

    I want make a RAR Archive with WinRAR, i use rar.exe (it's for command line), but i don't know how to use this command!

    For use this program most use this command in CMD:

    Code:
    rar a -r Folder.rar Folder
    But how can use on AMS ?

    -------------------------------
    I also have a problem in Progress (plugin), i want when copy a folder use a Progress Meter, but i can only use it just when copy a file... can't use when copy a Folder (i'm use dll wrote WORM);

    thanks.
  • bule
    Indigo Rose Customer
    • May 2005
    • 1116

    #2
    Code:
    rar="Folder.rar";
    fol="Folder";
    File.Run("rar.exe", "a -r "..rar.." "..fol, "", SW_MINIMIZE, true);
    Never know what life is gonna throw at you. ZubTech

    Comment

    • Soheyl
      Forum Member
      • Nov 2005
      • 46

      #3
      thanks Dear bule;


      how can make a Progress Meter for Folder Copy ?

      Comment

      • stickck
        Indigo Rose Customer
        • Feb 2004
        • 617

        #4
        here you go. i just posted this last night.



        chris

        Comment

        • Soheyl
          Forum Member
          • Nov 2005
          • 46

          #5
          Originally posted by stickck
          thanks...

          Comment

          • stickck
            Indigo Rose Customer
            • Feb 2004
            • 617

            #6
            no problem!

            chris

            Comment

            • Soheyl
              Forum Member
              • Nov 2005
              • 46

              #7
              I want make a archive file from this folder:

              Code:
              C:\Document & Setting\User\Application Data\Folder
              How can me ?
              is it true :?

              Code:
              rar="C:\\Document & Setting\\User\\Application Data\\Folder.rar";
              fol="Folder";
              File.Run(_SourceFolder .."\\rar.exe", "a -r "..rar.." "..fol, "", SW_MINIMIZE, true);
              again big thanks... :yes

              Comment

              • Soheyl
                Forum Member
                • Nov 2005
                • 46

                #8
                How ?

                Comment

                Working...
                X