avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Arduino-IDE-Workspace\Arduino-IDE\Settings\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "\.\COM5": The filename, directory name, or volume label syntax is incorrect.
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
The board is connected ok on Comm. Port 5 and I have told the IDE that it is a Arduino Uno in the Boards Manager.
I can get the board info
It is Arduino IDE V2.3.2.
I am trying to upload "Blink" just now, but I have also tried uploading another sketch which worked ok on a Uno R3 through-hole.
From your screenshot, the board uses a 16U2 serial-to-usb converter (which is good)..
Does the board disappear from the IDE and Windows device manager if you disconnect it?
Is it recognised as an Uno in Windows device manager or as something else?
Observe Windows device manager when your try to upload; the port should stay on COM5. Does it?
There should not be a difference between a DIP and a SMD board (based on 328P chip).