"Zilla" <> wrote in message
news:es7$...
>
> "Skiffle" <> wrote in message
> news:hvp0nl$3f7$...
>>
>> "Zilla" <> wrote in message
>> news:73B5E717-E853-4AE1-8BA8-...
>>> Subject line pretty much says it all. We all know how to exeucte
>>> scripts/app during startup, but what about during logoff/shutdown?
>>>
>> Chris,
>>
>> Google is your friend
>>
>> http://www.lmgtfy.com/?q=how+to+run+...le+at+shutdown
>>
>>
> Sorry I forgot to mentioned that I googled before I posted, and the
> links pointed to XP. I didn't find a decent link for Vista.
>
>
The same method that works for XP works for Vista. That said, the
only way I know to do this is using the Group Policy Editor,
gpedit.msc, which isn't available in Home versions of Windows.
If you have a non-Home version, just Start - gpedit.msc - Computer
Configuration - Windows Settings - Scripts (Startup/Shutdown) -
Shutdown. Then use the Add button to add whatever batch file you want
to run on shutdown.
Oh yeah, ignore Leythos' reply, his command will just force a restart
of your PC...
--
Zaphod
Arthur: All my life I've had this strange feeling that there's
something big and sinister going on in the world.
Slartibartfast: No, that's perfectly normal paranoia. Everyone in the
universe gets that.