Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. pdf995.ini in Program Files (x86)

pdf995.ini in Program Files (x86)

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Erich Ruth
    wrote on last edited by
    #1

    I have a file under Program Files (x86) called pdf995.ini and I want to programmatically edit this file. Sometimes I can make the software edit this file but many times it doesnt work. I know this file requires permission to change. Is there a way to open this file and overwrite this file? Please let me know.

    V L D 4 Replies Last reply
    0
    • E Erich Ruth

      I have a file under Program Files (x86) called pdf995.ini and I want to programmatically edit this file. Sometimes I can make the software edit this file but many times it doesnt work. I know this file requires permission to change. Is there a way to open this file and overwrite this file? Please let me know.

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Perhaps, if you logged in as Admin...

      1 Reply Last reply
      0
      • E Erich Ruth

        I have a file under Program Files (x86) called pdf995.ini and I want to programmatically edit this file. Sometimes I can make the software edit this file but many times it doesnt work. I know this file requires permission to change. Is there a way to open this file and overwrite this file? Please let me know.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        If it "sometimes" works, then "file replace" usually always works. [ReplaceFileA function (winbase.h) | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-replacefilea)

        The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

        1 Reply Last reply
        0
        • E Erich Ruth

          I have a file under Program Files (x86) called pdf995.ini and I want to programmatically edit this file. Sometimes I can make the software edit this file but many times it doesnt work. I know this file requires permission to change. Is there a way to open this file and overwrite this file? Please let me know.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Erich Ruth wrote:

          Sometimes I can make the software edit this file but many times it doesnt work.

          You'll need to narrow this down. Once that happens, then you can starting working on a coding solution.

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

          1 Reply Last reply
          0
          • E Erich Ruth

            I have a file under Program Files (x86) called pdf995.ini and I want to programmatically edit this file. Sometimes I can make the software edit this file but many times it doesnt work. I know this file requires permission to change. Is there a way to open this file and overwrite this file? Please let me know.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Then you need to move it to a location that is not protected. Neither Program Files nor Program Files (x86) should be used for files that may need updating at run time.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups