You can make the button run any script from anywhere if you do the following:
- Make sure the slash between folders is a “/”
- I would add the path within quotes
Example code for macro of button:
^C^C_AECCRUNDYNAMOSCRIPT “C:/Revit to Civils/Civils to JSON.dyn”