Re: XML temp files

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 09/05/04


Date: Mon, 06 Sep 2004 00:01:08 +0200

Jon Cosby wrote:

> What's with these XML files filling up my temp folder (imt***.xml)?
> Just started after installing sp2. Yesterday alone there were 57
> of these files taking 12 MB.
Hi

This is a bug introduced by SP2.

Those imt*.xml files are created when using "Help and Support" as
well as ordinary help files :-(

This means that people that uses help files and "Help and Support" a
lot will lose a lot of hard disk space if they doesn't clean out the
temp folder regularly. Microsoft is aware if this issue.

To delete those file automatically at every logon, you could create a
batch file in the Startup folder (preferably the one for "All Users").

To open the "All Users" Startup folder, run the line below from
Start/Run (including the double quotes!):

"%ALLUSERSPROFILE%\Start Menu\Programs\Startup"

Create a file with the file extension .bat and put the following
line into it:

del %tmp%\imt*.xml

If you want to avoid the command prompt that will flash by at each
logon after doing the above, use a VBScript file instead of a batch
file.

Create a file with the file extension .vbs and put the following
into it:

'--------------------8<----------------------
Set objShell = CreateObject("WScript.Shell")
strCmd = "%comspec% /c del %tmp%\imt*.xml"
objShell.Run strCmd, 0, True
'--------------------8<----------------------

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx


Relevant Pages

  • Re: "scrrun.dll" not compatible in different languages?
    ... Any OS that supports scripting must be properly locked down or the scripting ... some features in FSO that are nearly impossible to ... The fact that VB 6 doesn't support ... The fact that there is no way to write a decent language translator from VB ...
    (microsoft.public.vb.general.discussion)
  • Re: "scrrun.dll" not compatible in different languages?
    ... >Any OS that supports scripting must be properly locked down or the scripting ... >situation exists today with Windows. ... >implement in VB 6 without FSO or another file system interface. ... >that VB 6 doesn't support multi-platform file IO is based on the fact that ...
    (microsoft.public.vb.general.discussion)
  • Re: Inline frames, die, die, die (aka please help!)
    ... The reason my preference is the Windows platform and for scripting ASP/VBScript, ... ASP/VBScript on Unix/Linux, but you can not use Access or Excel as a data source. ... support here in this newsgroup, then you will find for PHP and any other scripting language. ...
    (microsoft.public.frontpage.client)
  • Re: Inline frames, die, die, die (aka please help!)
    ... > one should be better than the knowledge available trying to support both ... > All of the current scripting languages can do the same thing, ... > Thomas A. Rowe ...
    (microsoft.public.frontpage.client)
  • Re: Error 0x8007045A - Have MS Closed for Business??
    ... I need to focus on fee-earning business ... You might want to open a support case with Microsoft Product Support ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsupdate)