Change sms client cache location with a script

If you would like to change the location of  the client cache on your client you can do this with the following scipt. Where D: is where you want to set the cache location. Change for your own usage.

On Error Resume Next
Set oUIResource = CreateObject(“UIResource.UIResourceMgr”)
Set objCacheInfo = oUIResource.GetCacheInfo
nValueToSet = “D:”
objCacheInfo.Location = nValueToSet

Note: It will create a folder ccmcache under the folder you select. The folder does not need to exist but the drive needs to exist. 

WordPress Themes