Author Topic: A little help with executing commands after Unraring.  (Read 2890 times)

NELS

  • Guest
A little help with executing commands after Unraring.
« on: January 09, 2008, 06:20:33 am »
I am simply trying to execute a .bat file that is in the folder that the files are being unrar'd into. Its just a simple .bat that renames my TV shows to a proper name.

I've tried
  • $u\tvrenamer.bat
  • $utvrenamer.bat
  • "$u" tvrenamer.bat

and others without any success.

Any help would be greatly appreciated, thank you very much.

Levi

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: A little help with executing commands after Unraring.
« Reply #1 on: January 09, 2008, 07:30:51 am »
What version of Alt.Binz are you using? (click About button in main toolbar)

NELS

  • Guest
Re: A little help with executing commands after Unraring.
« Reply #2 on: January 09, 2008, 10:19:27 am »
0.27.0.

Thank you.

Offline dacaid

  • Contributor
  • ***
  • Posts: 246
Re: A little help with executing commands after Unraring.
« Reply #3 on: January 09, 2008, 10:30:08 am »
Quote
There is a default execute command under setup->NZB #2, but command can be specified separately for any collection.

Format for command is:
full_path_to_exe_bat_or_whatever "parameters"

Use $d for full download path without a trailing delimiter
Use $u for full unrar path without a trailing delimiter

Examples:

c:\util\MyCleanupRoutine.exe "-a $d"
c:\util\CleanupAfterUnrar.bat "$d $u"

looks like you forgot to give altbinz the full path to your bat  8)


0.27 user not contributer.... ?
i shouldnt help... but so far it might be useful to someone else, so...
« Last Edit: January 09, 2008, 10:32:07 am by dacaid »

NELS

  • Guest
Re: A little help with executing commands after Unraring.
« Reply #4 on: January 09, 2008, 10:47:20 am »
The problem is that the full path to the .bat is the folder where the tv shows are being unrar'd, and it is different for every tv show that is downloaded. So I tried to use "$u" as the path, but it doesn't work.

Anyway, what do you mean "0.27 user not contributer.... ?"

Thanks again.

Offline Ascathon

  • Contributor
  • ***
  • Posts: 608
    • vandenekker.com
Re: A little help with executing commands after Unraring.
« Reply #5 on: January 09, 2008, 10:53:47 am »
Anyway, what do you mean "0.27 user not contributer.... ?"
You can only get 0.27 by becoming a contributor (donation). Your forum account is not listed as Contributor so you got 0.27 in a illegal way.
Save the Whales - Harpoon a Honda

NELS

  • Guest
Re: A little help with executing commands after Unraring.
« Reply #6 on: January 09, 2008, 11:20:31 am »
You can only get 0.27 by becoming a contributor (donation). Your forum account is not listed as Contributor so you got 0.27 in a illegal way.

Wow way to jump to conclusions there. I got the program from my Uncle two weeks ago. I had no idea this program wasn't free (I could of sworn I saw something saying freeware), I'll ask him tomorrow to see if he donated, and if not I will donate (I love this program).

Levi

Offline chewie4u

  • Contributor
  • ***
  • Posts: 258
Re: A little help with executing commands after Unraring.
« Reply #7 on: January 09, 2008, 11:40:54 am »

  CROWD:  A witch!  A witch!  A witch!  We've got a witch!  A witch!
  VILLAGER #1:  We have found a witch, might we burn her?
  CROWD:  Burn her!  Burn!
  BEDEMIR:  How do you know she is a witch?
  VILLAGER #2:  She looks like one.


http://www.sacred-texts.com/neu/mphg/mphg.htm

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: A little help with executing commands after Unraring.
« Reply #8 on: January 10, 2008, 01:15:27 am »
Thread is locked for the time begin.  Nels, please check your messages.

-Hecks