I've found a bug on this program. At the first start, the program works fine. Since the second execution, the program not work properly. The bug is on the change of the scan folder. If we change the first folder of default ("C:\") replacing with another one, this may cause the malfunction of the next execution of this program.

The Bug is on the "Settings.ini" file. Changing the first scan folder, we have this file of settings.ini:

Code:
ORIGINAL SETTINGS.INI

[Settings]
Overwrite=0
BuildScriptsIn=0
Splash=0
AvsFolder=C:\
MainFolder=C:\
Extenions=AVI|MPEG|MPG|MOV|DIVX|MKV|OGM|MP4|M1V|M2V
ScriptExtensions=AVS|BAT|CMD|JOBS
Template=C:\Programmi\ABatchScript\Templates\Default.avt



MODIFIED SETTINGS.INI

[Settings]
Overwrite=0
BuildScriptsIn=0
Splash=0
AvsFolder=F:\Movies\AVS_Script
MainFolder=F:\Movies\Videos
Extenions=AVI|MPEG|MPG|MOV|DIVX|MKV|OGM|MP4|M1V|M2V
ScriptExtensions=AVS|BAT|CMD|JOBS
Template=C:\Programmi\ABatchScript\Templates\Trailer.avt

My solution
I've make a CMD script (for Windows XP, for other SysOp it can be .bat file) as follow:

Code:
@echo off
copy /Y settings_original.ini Settings.ini
START ABatchScript.exe
exit
This script replace the new settings.ini with the original one. Make a copy of Settings.ini and modify it replacing the MainFolder string with "C:\" and set BuildScriptIn to zero (0).
That's it!

Then execute the program with the CMD file, instead of the EXE file.


I wish this can help to someone.



kL0d3