get system folder path

P

Pablo Cardellino

Hi,

I'm looking for a property that matches the Application
data\Microsoft\Proof, that is, the path of the folder that contains the
proofing tools. I'm using the Options.DefaultFilePath(wdAutoRecoverPath)
property and manipulating the string, getting its parent folder and searching
for the Proof folder inside it, but it is not exaclty the best procedure I
guess ;-)

Best regards,

Pablo Cardellino
 
J

Jay Freedman

Hi,

I'm looking for a property that matches the Application
data\Microsoft\Proof, that is, the path of the folder that contains the
proofing tools. I'm using the Options.DefaultFilePath(wdAutoRecoverPath)
property and manipulating the string, getting its parent folder and searching
for the Proof folder inside it, but it is not exaclty the best procedure I
guess ;-)

Best regards,

Pablo Cardellino

Use the expression

Environ("appdata") & "\Microsoft\Proof"

The result of the Environ function call is the path of the current user's
Application Data folder.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top