An Easy VB Question with 90 points

I want to make a setup program that will serch the Hard drive for files already installed. I have the install part done, I just need the command to find the files.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you can use the DIR $ function to search through your directories



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
"HOWTO: Search Directories to Find or List Files"

"PRB: Search Using OpenFile API Instead of Dir/Dir$ Function"
If you know the files you are looking for you can do the following:

Dim MyFile, MyPath, MyName
' Returns "WIN.INI"  if it exists.
MyFile = Dir("C:\WINDOWS\WIN.INI")  

The string MyFile will be filled if the file exists.  If it does not exist the string will be null.
R_N_WARDAuthor Commented:
Thank you. The Dir$(C:\*.*) command should work fine. Newbe Q> "*.*" is the file I am looking for, right?
you can use *.* or the specfic file you are looking for
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.