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

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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.
 

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
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Top