Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search

Retrieve AppData folder

  Topic Search Topic Search
peterakos View Drop Down

Joined: 2015 Jul 13
Online Status: Offline
Posts: 349
Direct Link To This Post Topic: Retrieve AppData folder
    Posted: 2018 Mar 01 at 2:24am

User Information:

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



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.

Edited by peterakos - 2018 Mar 01 at 2:26am
Back to Top
knickknack View Drop Down
Forum Moderator
Forum Moderator

Joined: 2016 Jul 01
Location: Italy
Online Status: Offline
Posts: 268
Direct Link To This Post Posted: 2018 Mar 02 at 3:31am
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
MAXON Computer GmbH
SDK Support Team
Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.109 seconds.