New Paste :: Recent Pastes:: No Line Numbers
A Paste by jake`
1
{ char tmp [512]; if (GetModuleFileName (0, tmp, sizeof tmp) > 0) { // terminate the string at the last backslash *strrchr (tmp, '\\') = 0; OutputDebugString (tmp); } }