PDA

View Full Version : Log off Script



neo_philiac
05-19-2008, 10:52 PM
I am trying to create a log off script to run the a program (syncToy) and when it finishes, log off. To explain more - I have sync toy installed and I have it scheduled to run whenever I login but "Schedule Task" does not give me the option to run it when I log off. I think at gpedit.msc > User Config > Windows setting > Scripts , putting a batch file would run the program and when done, it would log off???

Sample Batch File:


echo "Running Sync toy ..."
start c:/Prog Files/SyncToy/SyncToy.exe


This is what I can think of ... any other idea? Is the above code correct?

tfit
05-22-2008, 09:18 PM
Maybe one of these tools here can be on any assistance


http://www.snapfiles.com/downloadfind.php?action=s&st=shutdown

tfit
05-23-2008, 08:50 AM
sure :-)