Conversation Between srochford and soze

1 Visitor Messages

  1. I ran the script that you posted but it doesn't seem to delete the folder, I replaced the Documentum with the name of a sub folder in Documentum "UCF". Is there something else that I need to do.

    set ofso=createobject("scripting.filesystemobject")
    sRoot="c:\documents and settings\"
    set oFolder=ofso.getfolder(sRoot)
    for each oSubFolder in oFolder.subfolders
    sName=sRoot & & "\" & sFolder
    if ofso.folderexists(sName) then
    'wscript.echo sName
    ofso.deletefolder(sRoot & sName & "\" & sFolder,true)
    end if
Showing Visitor Messages 1 to 1 of 1