WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Samples from Users

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Remove SMS Cache Folder

 Keywords:  Delete Remove UIResource.UIResourceMg SMS Cache Elements  GetCacheElements GetCacheInfo DeleteCacheElement

oUIResManager = ObjectCreate("UIResource.UIResourceMgr")
oCache = oUIResManager.GetCacheInfo()
oCacheElements = oCache.GetCacheElements
Pause("", "There are " : oCacheElements.Count : " cache elements" )
ForEach oCacheElement In oCacheElements
  CacheElementID = oCacheElement.CacheElementID
  oCache.DeleteCacheElement(CacheElementID)
Next
oCacheElements=0
oUIResManager=0
oCache=0
Exit

Article ID:   W18176
Filename:   Remove SMS Cache Folder.txt
File Created: 2009:06:23:09:24:04
Last Updated: 2009:06:23:09:24:04