How can I see whether a DLL is registered from my batch program?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davidcm
    New Member
    • Jun 2007
    • 5

    How can I see whether a DLL is registered from my batch program?

    I have a .bat file in Windows that I am writing. It will copy some DLLs to a directory on the user's machine and register them. I was thinking it might be good to check whether the DLL is already there and registered, before copying over and registering. Is that possible? Could anyone help me out? I have been browsing on Google, but not been able to find a way, yet.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    I moved your question out of the Windows Articles section to the Windows Forum
    section where it belongs.

    kind regards,

    Jos

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Originally posted by davidcm
      I have a .bat file in Windows that I am writing. It will copy some DLLs to a directory on the user's machine and register them. I was thinking it might be good to check whether the DLL is already there and registered, before copying over and registering. Is that possible? Could anyone help me out? I have been browsing on Google, but not been able to find a way, yet.
      I just got a great link today. Getting Started with WMI Scripting may be of help to you.

      Thanks for joining TheScripts.com.

      Comment

      Working...