Scripting Question

Need a script to find certain file

05/21/2015 1822 views

I need a script to search user's PC for database (mdb or Mbl) and tell me where was it located and the user it found it on.

I need to do this to a department label. .



w:\work\client.mbd    tsmith

w:\work\inventory      tsmith


0 Comments   [ + ] Show comments


Community Chosen Answer

If you are looking for powershell script find the link below.... BTW I just googled it *wink*

Answered 05/27/2015 by: khanthecomputerguy
Senior White Belt

All Answers

I did not create this and test so if you have a glitch let me know

you can run a script to do a (the single > overwrites and the >> appends)

run a script against the label

launch a program
/c dir *.mdb /s > C:\ProgramData\Dell\KACE\user\findmdb.txt
(check wait for completion)
launch a program
/c dir *.mbl /s >> C:\ProgramData\Dell\KACE\user\findmdb.txt

then create a CIR

shellcommandtextreturn(cmd /c if exist C:\ProgramData\Dell\KACE\user\findmdb.txt type C:\ProgramData\Dell\KACE\user\findmdb.txt)
Answered 05/21/2015 by: SMal.tmcc
Red Belt


VBScript? Powershell? CMD? Kscript for a KBox?

The folks here are helpful and knowledgeable but somewhat light on psychic ability.

Answered 05/22/2015 by: VBScab
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ