Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help deleting sub folder in multiple directories

Status
Not open for further replies.

Solze

Technical User
Apr 17, 2007
2
US
Does anyone know how to edit this so that it will delete he UCF folder in every user profile and not just the current folder.


' ------ SCRIPT CONFIGURATION ------
strFolderPath = "<FolderPath>" ' e.g. "d:\temp"
' ------ END CONFIGURATION ---------
set objFSO = CreateObject("Scripting.FileSystemObject")
ObjFSO.DeleteFolder("C:\Documents and Settings\qt32374\Documentum\UCF")
WScript.Echo "Successfully deleted folder"


Thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top