Subj : Re: filename of executable using WinMain? To : borland.public.cpp.borlandcpp From : "Bob V" Date : Wed Nov 12 2003 07:06 pm Answering my own question, LPTSTR GetCommandLine(VOID) does the trick. .