It's probably easier to set it up as a Statup function, rather than shutdown. Timing doesn't really matter does it? If you delete it at shutdown, it ends up being the same as if it was done as the first thing on starting up. All you need to do is create the batch file and put it in your Startup folder.
..dan *************** Dan Vint Engineer Sr. BEA Systems Home: 510-522-4703 (generally working from home) Office: 408-570-8554 IM Yahoo: dvint1_99 dvint at bea.com > -----Original Message----- > From: framers-bounces at lists.frameusers.com > [mailto:framers-bounces at lists.frameusers.com] On Behalf Of > Stuart Rogers > Sent: Monday, December 03, 2007 9:14 AM > To: Yves Barbion > Cc: framers at lists.frameusers.com > Subject: Re: Shutdown > > Yves Barbion wrote: > > > > By the way, Framers: it would be nice if I could use some > script or ".bat" > > file to delete my font cache on Windows shutdown > automatically. Any ideas > > for this? > > > You could write a batch file that deletes the cache, then use Task > Scheduler* to make it run on start-up. (I don't think > there's an option > to run on shutdown, but the effect would be the same.) > > *Start > Programs > Accessories > System Tools > Scheduled Tasks > > -- > Stuart Rogers > Technical Communicator > Phoenix Geophysics Limited > Toronto, ON, Canada > +1 (416) 491-7340 x 325 > > srogers phoenix-geophysics com > > "Hooray. Our team have got your querying to locate the finest doorway > with hot stuff for 0 dollars And Company DID this! All you > need is to > login there. All our orderers are glad!" > > -- "Chang" (a Chinese spammer) > _______________________________________________ > > > You are currently subscribed to Framers as dvint at bea.com. > > Send list messages to framers at lists.frameusers.com. > > To unsubscribe send a blank email to > framers-unsubscribe at lists.frameusers.com > or visit > http://lists.frameusers.com/mailman/options/framers/dvint%40bea.com > > Send administrative questions to listadmin at frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. > Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.