Jump to content

Auto extract: Nearly there!


SmoothMarx

Recommended Posts

Hey guys,

 

So I'm trying to get utorrent to command 7zip to automatically extract downloaded files once finished.

 

 

 

 

This is what I have so far:

C:\Program Files\7-zip\7z.exe e "%D"/*.* -o"%D"

I'm not a programmer, but from what I understand:

 

" C:\... " ---- Directory where I will find my 7-zip installed

 

" e " ---- extract command for 7zip, the equivalent to "x" in winRAR

 

" "%D" " ---- This utorrent command allows utorrent to tell 7zip which directory contains the files I want extracted

 

*.* " ---- this tells 7zip to extract any extractable file in the directory

 

" -o --- says "this is where I want it extracted to"

 

 

 

but for some reason, it's not working!

 

I've tried changing the different versions of the exe (7z.exe, 7zFM.exe, 7zG.exe) and none of them work.

I've also tried changing the direction of the slash ( "%D"/*.* and "%D"\*.* ) but to no avail.

 

 

 

 

Has anyone gotten this to work yet?

 

 

I appreciate any help, feedback or corrections. Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

I have some other suggestions.. instead of trying to get 7zip to auto extract your zip files.. try what I used to do...

 

1. have all your zip files saved to one directory

2. run a batch file which automatically creates a subdirectory using the file name as the name of the subdirectory, and unzip the file with winrar (which is much better than 7zip) into that subdirectory

 

There are batch commands such as

@echo off

for %%n in filelist do winrar -e n

 

That is NOT a correct batch file, just an example of what it will look like.  I don't recall the exact syntax of the batch file commands because I rarely come across zip files or rar files anymore. 

 

If you need more help, just ask.  It would be better if you tried doing this yourself though, otherwise you won't learn how to use batch files. 

 

 

Trying to do something complex with just one command is rough.. which is why batch files are a better choice.

Link to comment
Share on other sites

Hey guys,

 

So I'm trying to get utorrent to command 7zip to automatically extract downloaded files once finished.

 

Has anyone gotten this to work yet?

 

I appreciate any help, feedback or corrections. Thanks!

Also we don't help with downloaded files that is up to you to figure this out.

Link to comment
Share on other sites

joshace is.

The "we" must be just you on this occasion.

Really so then I got land in USSR I want to sell you. If you want to help someone extract programs on your behalf please say so otherwise the others(WE) aren't in the business of helping people to extract program they don't know how to when utorrent has nothing to do with that. If that is your view then tell me where has any MOD or Webmaster for utorrent help someone extract torrent files? Last I heard they don't help with this.

Link to comment
Share on other sites

Thanks for your help joshace. I now get batch files. :) I'll just have to write down the tasks and their order and create this. :)

 

 

 

As for PiusX, I don't know why you'd use that name. It's usually used to refer Popes clergy, people who are known for being kind and merciful, even when they say no. Something you don't seem to strive to be. But hey, maybe I got it all wrong and your name is simply Giuseppe.

 

 

For the record, I wasn't asking for help with downloaded files, I was asking further information on how to use the "Run Program" feature, located in the Advanced Preferences of uTorrent, the product these forums belong to, since utorrent has different commands than most extracting software.

 

Finally, I made sure to put this in the correct forum, namely General, which says is for "General discussion related to µTorrent". Not "Troubleshooting", nor "Bug reports" or "Feature Requests, which, if you'll give me credit for, is where most clueless people (including myself) would put this on. This is RELATED to utorrent, and it is in the "Community forums" where anyone (that is part of the community), including mods and/or webmasters, can participate... or not, if that's they're choice.

 

 

Also, coming on here just to reply "no" or throw in a "hilarious" quip is a waste of your time and mine. Had no one replied, I would've understood the same.

 

 

 

To end in a high note, joshace, I appreciate your help. Thank you :)

Link to comment
Share on other sites

  • 1 month later...

I don't suggest you extract to the same directory but to a different one.

Also just use two double quotes at the start of your command and at the very end. Get rid of all your back slashes next to %d

Also look here: forum.bittorrent.com/topic/19208-run-two-programs-when-torrent-finishes/

Link to comment
Share on other sites

  • 3 weeks later...

 

As for PiusX, I don't know why you'd use that name. It's usually used to refer Popes clergy, people who are known for being kind and merciful, even when they say no. Something you don't seem to strive to be. But hey, maybe I got it all wrong and your name is simply Giuseppe.

 

 

For the record, I wasn't asking for help with downloaded files, I was asking further information on how to use the "Run Program" feature, located in the Advanced Preferences of uTorrent, the product these forums belong to, since utorrent has different commands than most extracting software.

 

Finally, I made sure to put this in the correct forum, namely General, which says is for "General discussion related to µTorrent". Not "Troubleshooting", nor "Bug reports" or "Feature Requests, which, if you'll give me credit for, is where most clueless people (including myself) would put this on. This is RELATED to utorrent, and it is in the "Community forums" where anyone (that is part of the community), including mods and/or webmasters, can participate... or not, if that's they're choice.

 

 

Great comment.

 

I'm guessing you made it work by now. Me i recently moved back to uTorrent and i dont even see the Run Program work at all. Its just pure dead for me.

Tried to run this: "C:\Program Files\WinRAR\WinRAR.exe" x -r "%D*.rar" "%D" and nothing happened.

Added a text.bat file to just show me a line so i can see it even execute the row and nothing happened. Now i'm pretty sure the program is flawed. So basically i'm wondering which version are you running and if it still works for you? could you perhaps send me you .bat file? I just need a simple way to unrar my files. As an extra if your be nice to have the "if else" so i can choose .r00 if .rar does not exist cause it does happen sometimes.

 

Hopefully there are still some helpful people around the forum .

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...