OK, so I know this topic has been discussed a little bit on this forum already, and I've read all those threads already and have done what I'm supposed to do, but I'm still having troubles.
I'm trying to make a .bat file that runs a Backup, via a Script, in Toucan. Easy enough. My .bat file looks like this:
X:\...\Toucan\App\toucan\toucan.exe Script "ScriptName"
PAUSE
I've already created jobs and scripts, and this .bat works great if run from the "Toucan\App\toucan" folder. As you can see, it points to the correct toucan.exe, according to the help file, and several threads on this site.
However, if I copy the same .bat file to the root directory of my flash drive (X:\), and then run, I get the 'Missing addvar.png' message. This happens if the .bat is run from any directory other than the 'Toucan\App\Toucan' folder. I can't figure it out.
I've even tried to create a .bat in the root directory that CALLs a working .bat in the 'Toucan\App\Toucan' folder, and this still returns the error message. Same as when I Autoplay the .bat from an autorun.inf file. (What I'm originally trying to do). It works, but returns the error first. It seems as though whatever directory *originally* began the process has to have the file in it to prevent the error.
The only way I've found to beat this is to copy addvar.png to the root directory, and then the program acts normally, without asking for this or any other file.
Any thoughts on why this is happening, or an easier way to fix it?
By the way, I'm running version 2.0.1 on XP home.
Why don't you just make the first line of the bat change directory to the Toucan directory?
Jim
neutron1132 (at) usa (dot) com
Perfect! Didn't even think of this.
Thanks, Jim.
Cheers!
Jim
neutron1132 (at) usa (dot) com