Subj : The first argument To : borland.public.cpp.borlandcpp From : =?ISO-8859-2?Q?Graf_L=E1szl=F3?= Date : Fri Nov 14 2003 11:12 am Hi Short question from a beginner: I have a short (very simple program) p01.exe in C:\. This line printf("\n%s\n", argv[0]); displays c:\p01.exe How could I display the program's name only (p01.exe) ? Laci .