Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?
|
Script won't work on shut down
XINA - January 11, 2010 - 6:58am
Hello,
I created a sync job.
Then I created a batchfile. The batchfile works fine.
But if the batchfile starts on windowsXP log off script nothing happens.
This is the batch file:
Rem batchfile
echo Start %date% %time% >>C:\Temp\logTouCan.txt
C:\Programme\Toucan\Toucan jobname
echo End %date% %time% >>C:\Temp\logTouCan.txt
Rem end batchfile
This is what I see in my logfile logTouCan.txt:
Start 11.01.2010 11:52:25,02
End 11.01.2010 11:52:25,27
I wonder why Toucan runs only for one second.
Does anybody else has the same problem with Toucan and log off script?
|
My guess would be that, since
My guess would be that, since you are logging off, toucan gets closed by windows. While logging off windows first closes all programs, thus also stopping toucan. Simply said, I don't think that starting a program while logging out is going to work. I'm not 100% certain about this though, so maybe someone else knows of a way to do this.
Behold, the DutchLander has arrived.
Grammatical errors are copyrighted.
That
would be my guess too, does it work if you run it separately?
'...and do the other things, not because they are easy, but because they are hard...' JFK
Yes, it works if I run it
Yes, it works if I run it separately.
I
am afraid I am not sure what to suggest, how do you get the batch file to run?
'...and do the other things, not because they are easy, but because they are hard...' JFK