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