Programming arduino using avrdude from command prompt
can't open device "COM41": The system cannot find the file specified.


This means there is no device at COM41. This may be due to 2 reasons: 


You may not have connected your arduino. If this is the case then you please connect the arduino and retry
Your arduino might be on a different COM port. If this is the case, then, go to device manager and check your arduino's COM port and replace COM41 with that and retry.