I mean unless your able to upload out of the bound (ie ../../) and put the file in a location where it get executed or you can overwirte a certain program.

But in the case of simple file sharing configured correctly theres no way an uploaded file could execute a dos is there?