1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Winrar problems - can't extract files via command line.

Discussion in 'All Other Software' started by another user, Jul 11, 2007.

Thread Status:
Not open for further replies.
  1. another user

    another user Thread Starter

    Joined:
    Jul 11, 2007
    Messages:
    2
    Hello, I'm having some problems with Winrar.
    I'm using the command line to compress files into a rar, but then when I try to use the command line to decompress the same files I get a "No files to extract" error.

    None of the rars is empty and the files can actually be extracted using the windows GUI, the problem is with the command line.

    I'm using the following command to compress the files (with different paths):
    Code:
    "C:\Program Files\WinRAR\winrar.exe" a -v4400m -m5 -ag -r -ac -ao -to10m -IBCK C:\Backups\DocumentsBackup C:\Documents\*.*
    And then I use this command to extract (again with different paths):
    Code:
    "C:\Program Files\WinRAR\winrar.exe" x -r -IBCK C:\Backups\DocumentsBackupYYYYMMDDhhmmss.rar C:\Temp
    I already tried downloading the latest version of winrar but it didn't solve my problem.
    I'm using Windows Server 2003 BTW.

    Thanks in advance for your help.
     
  2. another user

    another user Thread Starter

    Joined:
    Jul 11, 2007
    Messages:
    2
    Nevermind, I found the problem.
    The correct syntax for the extract command would be the following:
    Code:
    "C:\Program Files\WinRAR\winrar.exe" x -IBCK C:\Backups\DocumentsBackupYYYYMMDDhhmmss.rar *.* C:\Temp
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/594539

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice