I discovered (part of) the problem. "at" does not set any of the positional parameters to be the name of the script being executed, and provides no other way to discover it. I guess that's OK, if not convenient, so I guess I'll close this bug. Maybe I'll open one on at :> -- Rob