How to modify this script from Rob Sampson or PurplePomGranite?

Attached you will find the script from Rob Sampson which deletes files from several folders both locally and remotely. Now I would want a few modifications.

1. Just run locally, on the computer it runs from
2. No msgboxes, no logging, all what can be deleted may survive ;)
3. And last clean this folder as well:

local settings\history

Also I ofund this script from PurplePomeGranite which deletes temporary internet files > works perfect, if that could be modified to include the above mentioned folders as well, that would be great too!

So either will do, just no logging msgboxes or remotely, thanks in advance!

Hi there....my code deletes files from multiple profiles, whereas Purple's only does the current user. Deleting the current user's files requires no additional permissions, but deleting from multiple profiles will require admin rights.

So, do you need this from the current profile only, on the current computer? Also, my code deletes
Local Settings\Temporary Internet Files
Local Settings\Temp
%windir%\Temp

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

actually outputs all of the directories in a folder path, and just goes through each one in turn, executing the RD command. The trick behind that is that is that the RD command fails to remove non-empty folders. Therefore, as it goes through each folder, only empty folders will be removed.

Welcome to part one of a multi-part tutorial series, VBScript for Windows System Administrators. The goal of this series is to teach non-programmers how to write useful VBS code to automate their environment, and perform tasks faster, and in a more…

Welcome, welcome! If you are new to the series and haven't been following along, please take a brief moment to review the first three installments:
Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…

Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message. In the To field, type your recipient's fax number @efaxsend.com.
You can even send a secure international fax — just include t…