Page 1 of 1

How to get the 'Common Files' Folder?

Posted: Thu Mar 09, 2006 11:10 am
by MikeFieger
Hi!

It´s me again....

I also need to copy files to the 'Common Files' folder but I just can´t get the 'Common Files' folder....

The Help file says it would be stored in the variable COMMONFILES but it isn´t.
If I try to use the command 'Get Folder Location' I can´t find an appropriate enty in the combobox to choose from.

I hope you can help me out again :?

Mike

Posted: Thu Mar 09, 2006 12:02 pm
by jimo
In my environment the $COMMONFILES$ variable returns the correct value everytime.
Try Creating a messagebox with $COMMONFILES$ for the text and see what comes up when you run the app, or the tool I prefer is the "Runtime Debug" plugin from mdTools. Which you can download from
http://www.casic.de/.

Posted: Fri Mar 10, 2006 4:30 am
by MikeFieger
I already found the 'bug'...

Usually the variable is initialized like this:
Get Common Folder Location System->Program Files Directory into COMMONFILES

This line was missing :oops: