Finding the <COMMON_APP_DATA> folder

Is there a command that can return the <COMMON_APP_DATA> folder from within MS Access 2003.
Andy BrownDeveloperAsked:
Who is Participating?
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Connect With a Mentor Database ArchitectCommented:
This:

Environ("APPDATA")

mx
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
What is this exact folder name in Windows ?

mx
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Which returns:

C:\Documents and Settings\Administrator\Application Data

mx
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
Rey Obrero (Capricorn1)Commented:
how is this folder created?
0
 
Rey Obrero (Capricorn1)Connect With a Mentor Commented:
if that is the folder that will house your access application, you can get it with

currentproject.path

0
 
Andy BrownDeveloperAuthor Commented:
That was quick - both of these will do the job.

Thanks as always.
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Andrew:

currentproject.path does not return the AppData folder path.

mx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.