You could say something like: EXEC "PRG[slot]:[filename]"