Script running moves download into script folder
Posted: August 6th, 2023, 5:54 pm
My script ran fine when located under the SAB installation folder, then I saw a warning message in SAB saying that scripts should not be stored there because they will be overwritten upon each update of SAB (which was what was happening, with me having to copy the script from a backup each time SAB was updated). Now I have my script elsewhere and my downloads all end up in my [new] script folder. This might be my script, I am not sure, but it is only a couple of lines as I am not a script writer at all.
The purpose of the script is simply to keep the original download name of the folder in a text file within the folder as I always manually clean up file and folder names. If I had a movie that needed subtitles, I thought this would make chasing up the right subtitles easier. I very rarely need to chase subtitles now and could just turn off scripting, but I am curious as to why it is happening.
Base folder: c:\users\myname
Incomplete: Downloads\SAB\incomplete
Complete: Downloads\SAB\complete
Watched folder: Downloads
Scripts: Downloads\SAB\scripts
My script is the default in the Categories settings page where the base path is shown as
C:\Users\myname\Downloads\SAB\complete
The script itself is a few lines:
rem Made for SAB scripting
@echo off
echo %3 > %1\Version.txt
@echo on
echo Completed. Version.txt written.
That's it. I will probably remove the script as I rarely need the info but I need to know *why* this is happening just in case I understand scripting and want to do something in future (unlikely, but you never know, right?)
The purpose of the script is simply to keep the original download name of the folder in a text file within the folder as I always manually clean up file and folder names. If I had a movie that needed subtitles, I thought this would make chasing up the right subtitles easier. I very rarely need to chase subtitles now and could just turn off scripting, but I am curious as to why it is happening.
Base folder: c:\users\myname
Incomplete: Downloads\SAB\incomplete
Complete: Downloads\SAB\complete
Watched folder: Downloads
Scripts: Downloads\SAB\scripts
My script is the default in the Categories settings page where the base path is shown as
C:\Users\myname\Downloads\SAB\complete
The script itself is a few lines:
rem Made for SAB scripting
@echo off
echo %3 > %1\Version.txt
@echo on
echo Completed. Version.txt written.
That's it. I will probably remove the script as I rarely need the info but I need to know *why* this is happening just in case I understand scripting and want to do something in future (unlikely, but you never know, right?)