But it's probably better to do that : if the file actually exists (c: should exist, I suppose), then use it. Otherwise, use tramp. I can propose the following :