Scripts Thread, VBScript to delete specific folder using Registry info. in Coding and Web Development; Hi, I am trying to create a VBScript to delete a spcific folder once I have gained the information from ...
VBScript to delete specific folder using Registry info.
Hi, I am trying to create a VBScript to delete a spcific folder once I have gained the information from the registry. I have been able to create a script to identify the specific location of the folder (this different for every user) but I just don't know how to delete the folder once I have the information.
I am wanting to delete the Outlook securetemp folder, several users seem to be having a problem with these folders filling up and then they are unable to view images in emails sent to them. Because each user has a slightly different secure temp folder location (microsoft thing) I need to create the script where it identifies the location first and then deletes the folder and recreates it after being deleted.
is this possible and could anyone give me a suggestion on how to create this.
To call for the inforamtion on the location this is what I have so far;