SriniK has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Need to modify windows system file.
by BrowserUk (Patriarch) on May 12, 2011 at 16:34 UTC

    You want to edit a binary executable file that is part of the system security setup?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      I want turn off some of the options in win7 Action center via script. So i want to access that file. It can be accessed through VB Script. I can able to solve the issue by VB script (It's like keyboard macro).

      But in some environment it's not supported. So i really want that run as a real script and not like keyboard macro.
        I want turn off some of the options in win7 Action center via script.

        So, you don't want to edit the file, but rather, run the program contained in the file and manipulate the dialog it displays.

        Perhaps if you posted the VB code here, then someone might be able to help you write an equivalent Win32::OLE script.

        Alternatively, it might be possible to do what you want using Win32::GuiTest.

        But in some environment it's not supported.

        I find it strange that a company would restrict access to VB, but allow Perl to be installed.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.