Just use a forward slash in front of the local macro, and lose the
quotes in between:
"c:\union_pop\orig/`file'"
The backslash acts as escape character in Stata. You only need to
worry about it if it's directly followed by a macro.
Eva
2008/10/3 Caleb Southworth <caleb@uoregon.edu>:

I misunderstand something about the way locals are identified. The below
program crashes when I try to -use- the filename in `r(files)'. If I take
out the path name and change into that directory, then the program runs.
How
can I make this work with the path name? What is the proper way to use a
local that is appended to another string, such as the path? Thanks!