Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Deleting select files/folders from a RAR without extraction (WinRAR)

12 Jul 2013   #1
0Ebony0

Windows 7 Home Premium (x64)
 
 
Deleting select files/folders from a RAR without extraction (WinRAR)

I've a bit of a problem here... for the past year I've been attaching different kinds of data to a single .RAR file. This left me with a 245GB .RAR, which I understand, shouldn't have created in the first place. But I did, sadly.

Now, to my knowledge WinRAR doesn't seem to have an option to delete certain files/folders without the need of extraction. I don't have much space left in my HDD, so extraction really isn't an option here.

Is there a command line prompt to help me with this? Thanks in advance, this seems like a nice forum .

PS: I'm terrible with cmd stuff, so in the case there's a solution like that, please bare with me.


My System SpecsSystem Spec
.
12 Jul 2013   #2
TwoCables

 

Oh man. The only thing I can think of is to extract 1 file at a time. So, extract, delete, extract, delete, extract, delete, etc.
My System SpecsSystem Spec
13 Jul 2013   #3
0Ebony0

Windows 7 Home Premium (x64)
 
 

Good idea, but the problem is if I extract a file from the .RAR, I wind up just having the same file both extracted and compressed. I don't know if I'm expressing correctly: When I extract I don't take the file off the .RAR, it just "copies" it outside.

If there IS a way to extract even a single file (say, as in cut>paste), please let me know. Also, I did specify WinRAR in the thread's title, but that doesn't mean I'm not open to other software if it does the job (i.e. WinZIP, Universal Extractor, etc.).

PS: Sorry for the late reply, internet went down for quite some time. It's been really buggy the last few days.
My System SpecsSystem Spec
.

13 Jul 2013   #4
TwoCables

 

Quote   Quote: Originally Posted by 0Ebony0 View Post
Good idea, but the problem is if I extract a file from the .RAR, I wind up just having the same file both extracted and compressed. I don't know if I'm expressing correctly: When I extract I don't take the file off the .RAR, it just "copies" it outside.

If there IS a way to extract even a single file (say, as in cut>paste), please let me know. Also, I did specify WinRAR in the thread's title, but that doesn't mean I'm not open to other software if it does the job (i.e. WinZIP, Universal Extractor, etc.).

PS: Sorry for the late reply, internet went down for quite some time. It's been really buggy the last few days.
Can you just extract the files you want to keep and then delete the archive?
My System SpecsSystem Spec
13 Jul 2013   #5
Alejandro85

Windows 7 Ultimate x64
 
 

The way WinRAR works, there is no way of deleting files without a complete repack. Within WinRAR there is an option to delete files, but what it really does is to create a NEW .rar file with every other file except the ones you delete. Direct consequence of this is that you need to have that free space for the temporary file, roughly equal to the size of the original .rar file minus the compressed size of the deleted files. Less space than full extraction and recompression by hand, but still a lot.
My System SpecsSystem Spec
13 Jul 2013   #6
0Ebony0

Windows 7 Home Premium (x64)
 
 

Quote   Quote: Originally Posted by TwoCables View Post
Can you just extract the files you want to keep and then delete the archive?
Quote   Quote: Originally Posted by Alejandro85 View Post
The way WinRAR works, there is no way of deleting files without a complete repack. Within WinRAR there is an option to delete files, but what it really does is to create a NEW .rar file with every other file except the ones you delete. Direct consequence of this is that you need to have that free space for the temporary file, roughly equal to the size of the original .rar file minus the compressed size of the deleted files. Less space than full extraction and recompression by hand, but still a lot.
I've only 73GB of free space in my HDD (working on it). I'll consider that option later on, but as of now I'd really like to delete them the way I asked.

I've found some kind of way to deal with this, as I said before, through a command line prompt. I'm not sure if it's allowed to post this (if it's not I'll edit it out ASAP), but this is where I got the info: Xona Games - WinRAR Tip #3: Delete Multiple Files out of Multiple RAR Files

I've tried it that way, but it's no use. I need some kind of instruction with it.
My System SpecsSystem Spec
Reply

 Deleting select files/folders from a RAR without extraction (WinRAR)




Thread Tools




Similar help and support threads
Thread Forum
Font from select websites look different after deleting .temp files
I deleted all of my temp files to free-up some storage space. After the deletion occurred, fonts from different websites looked different and slightly distorted. Do you have any idea on how I can fix this by adding a certain type of temp file instead of restoring windows? I like it as it is and I...
Browsers & Mail
Sub-folders in Libraries- get rid of- without deleting files
I have a new computer and would like to set it up as my previous computer was set-up. A computer tech set it up. Previously I could click on the documents library and all my documents would show up. Now I have sub-folders and I have to click through about 3 sub-folders to come to my documents. ...
Music, Pictures & Video
Hidden Files & Folders How To Hide & View Only Select Few
Hi, I often make use of explorers built in hide files and folders tool to hide non essentential or relevant files and folders for example in Program Files it can get over crowded and I like to only make visible my custom installed applications but also other places on my hard drive like in my...
Customization
Deleting protected folders/files
Hello. Recently I had a major system crash of pretty much unknown origin, anyway I had to reinstall my Windows 7. I've got two hdd's and being afraid the one I used for system is somehow corrupted I first installed Win 7 on the other drive. Then I decided to install it on the first drive. Now...
System Security
Problems deleting files/folders
Hi folks Hoping you can help with what I feels like a simple problem, but very frustrating. the problem exists around deleting folders succession; I'm cleaning up my music collection, so I'm deleting folders containing MP3 files. I delete the first folder no issue, but I try to delete the...
Software
deleting undeletable folders/files.
i have 3 or 4 folder which are giving me an error message saying something about me not having permission. ive tried taking ownership and giving myself full permissions but i stll cant delete them.
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:32.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App