Jump to content

Change Properties of a config file


Recommended Posts

I am trying to change the properties of a config file so that it is not read only. Is there an easy way of doing this without right clicking on the file and setting it there. I am also having a hard time navigating to the folder.

Send("#r")
    WinWaitActive("Run")
    sleep(250)
    Send("iexplore")
    Send("{ENTER}")
    ProcessWait("iexplore.exe")
    Sleep(5000)
    ControlFocus("Microsoft Internet Explorer", "", 41477)
    ControlSetText("Microsoft Internet Explorer", "", 41477, "c:\xxxxxxx")
    Send("{ENTER}")

This is the code that I am trying to use to navigate to the desired folder but it is not typing in the new text into the control of IE

Thanks in advance,

Sean

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...