Help with script to check IE version

Hello all.

I would like to create small script that is called from our current logon script that will do the following:

-Check to see if the filename and path C:\Program Files\Internet Explorer\ie8props.propdesc exists
-If it does, write there computer name to a small text file shared on the network
-If it doesn't, write there computer name to a different small text file on the network

The goal is to upgrade everyone on the company to IE8 but the first thing I need to do is find out just how many people need it.

I reckon this is a pretty easy script to pull off, but my skills are not in this area.

If someone can help me out I would appreciate it.
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.

Craig BowmanIT Services ManagerCommented:
homerslmpsonAuthor Commented:
Did you really just send me a link that applies to:

Microsoft Internet Explorer 3.0
Microsoft  Internet Explorer 3.01
Microsoft Internet Explorer 3.02
Microsoft  Internet Explorer 4.0 128-Bit Edition

??? LOL.

Besides, this article is way more in-depth then what I was looking for .

I was looking more for a response like this:

if exist "C:\Program Files\Internet Explorer\ie8props.propdesc" do something...
Blah, blah blah...
Farhan KaziSystems EngineerCommented:
Check following batch script that you can use a login script.
IF EXIST "C:\Program Files\Internet Explorer\ie8props.propdesc" (

Open in new window

Farhan KaziSystems EngineerCommented:
Also have a look at following link. this might be helpful to you:

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
homerslmpsonAuthor Commented:
You sir, are a hero!

Thank you so much!
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
Windows Batch

From novice to tech pro — start learning today.