Full path to file

Ahhh I know see the difference after looking more carefully at alt + enter. But I am also a bit confused and surprised at dependence of this on which method I use to run the code.