Link to home
Start Free TrialLog in
Avatar of Mikoyan_2010
Mikoyan_2010

asked on

How to configure a basic script o see if a dll exists in system32?

Hi all

Any ideas what commands I need to use, ideally in batch script to notify if a .dll exists in windows\system32 directory?
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mikoyan_2010
Mikoyan_2010

ASKER

Great stuff!
No problem.... Never hurts to show different methods, but why over complicate it though Paul when you normally like simplifying?
drogon-it, was just trying to be helpful as ever. Looks pretty simple to me!

Thank you Mikoyan_2010.
Paul - wasn't criticising, just kinda seems what "IF EXIST" was made for!
I know, but strictly speaking, 'MyDLL.dll' could also be the name of a folder.

The use of 'DIR /A-D' addresses that ambiguity.
Fair enough!