hi. sorry if this is inappropriate forum; closest i could relate vbscript to was asp.

code below is for an offline app. someone else wrote it originally. i need to have it search only certain folders (hard-coding them is fine, nothing dynamic needed); at the moment it searches the entire drive. what needs modified to search only, e.g., c:/windows/

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colFiles = objWMIService. _
    ExecQuery("Select * from CIM_DataFile where Extension = 'igs'")