Alt.Binz forum
Alt.Binz (English) => Help => Topic started by: chris8837 on October 11, 2010, 08:46:06 am
-
I was just wondering if there was a way that I can get the downloaded file to rename to the folder name
I'm always renaming the file to the fit the folder format so i was thinking there has to be a way to make things simpler.
I shouldn't be complaining due to this program being the best out there,
Thanks
-
Yes, you can do this with an Execute Command on Completion script:
https://www.altbinz.net/wiki/Execute_Command_on_Completion
The $c variable (collection name) is probably what you want in this case.
-
I don't know much about doing this is there a tutorial about this or has someone posted a code for this.
Sorry I'm just new to executing commands
THanks again
-
I use this batch script file for renaming the file name (for .mp4) to the folder name it was unraraed into:
@ECHO OFF
CLS
SET "currentfolder=%cd%"
CD ..
SET "upperfolder=%cd%"
CALL SET folder=%%currentfolder:%upperfolder%\=%%
CD %folder%
rename *.mp4 "%folder%.mp4
Hope this helps. :)