Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Retrieve AppData folder

    SDK Help
    0
    2
    629
    Loading More Posts
    • 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.
    • H
      Helper
      last edited by

      On 01/03/2018 at 02:24, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R19 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello.

      How can I retrieve the common AppData folder using C4D calls ?
      I am referring to C:/ProgramData folder.
      Is it safe to do it using OS specific calls ?
      I have tried C4D_PATH_APPLICATION, but it returns the user AppData.

      Thank you.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 02/03/2018 at 03:31, xxxxxxxx wrote:

        Hi Peterakos, thanks for writing us.

        With regard to your question, I confirm that none of the methods to access folders in our API, or any define to be used in conjunction with GeGetC4DPath can provide you with the result desired. 
        As side note consider that on Windows you can use %ProgramData% env variable to access that folder.

        Best, Riccardo

        1 Reply Last reply Reply Quote 0
        • First post
          Last post