Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #3
      thanks Dear bule;


      how can make a Progress Meter for Folder Copy ?

      Comment


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

        http://www.indigorose.com/forums/sho...9&postcount=27

        chris

        Comment


        • #5
          Originally posted by stickck
          here you go. i just posted this last night.

          http://www.indigorose.com/forums/sho...9&postcount=27

          chris
          thanks...

          Comment


          • #6
            no problem!

            chris

            Comment


            • #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


              • #8
                How ?

                Comment

                Working...
                X