Nice! Not only did you point me at $.fileName to get the path to the running script, which would have been plenty, you gave me a good code implementation with a nice regex to boot. So thanks!
I was looking at the File and Folder objects and not finding what I wanted. I'm going to look more closely at those $.* tools.
I have a question, should I somehow get rid of that File object I'm using? Is there a best practice? Should it be closed like if I open a FrameMaker file with Open()?
Thanks,
Mark