You are here

Missing addvar.png...

4 posts / 0 new
Last post
drewski3420
Offline
Last seen: 14 years 1 month ago
Joined: 2008-10-21 00:22
Missing addvar.png...

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.

J Neutron
Offline
Last seen: 2 months 2 weeks ago
Joined: 2008-06-10 19:26
CD is your friend

Why don't you just make the first line of the bat change directory to the Toucan directory?

Jim

neutron1132 (at) usa (dot) com

drewski3420
Offline
Last seen: 14 years 1 month ago
Joined: 2008-10-21 00:22
Thanks

Perfect! Didn't even think of this.
Thanks, Jim.

J Neutron
Offline
Last seen: 2 months 2 weeks ago
Joined: 2008-06-10 19:26
You're welcome!

Cheers!

Jim

neutron1132 (at) usa (dot) com

Log in or register to post comments