Using variables with #include

Hi everyone!

I am trying to load in procedures from certain paths using #include. As this routine should work on different computers with different users, it would be useful to work with variables to provide the file path, e.g.
 

string path="C:user_XY:procedurefiles:test_procedure"
#include path

However, include does not accept string variables as input.
Is there a way around this?

The way we intended #include to work is that you would create a shortcut from "C:user_XY:procedurefiles" and put the shortcut in the "User Procedures" folder of the "Igor Pro User Files" folder. Then you would simply use:

#include "test_procedure"

More simply, you can require that each use put his procedurefiles folder directly in the "Igor Pro User Files" folder and then use a simple #include.

For information on the "Igor Pro User Files" folder, execute:

DisplayHelpTopic "Special Folders"