Error Arduino when i upload program in arduino

when upload my program then show error
Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 2112 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 52 bytes (2%) of dynamic memory, leaving 1996 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

1 Like

Did you try the suggestions in the[ troubleshooting post](http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.)? If you have and it did not help, look at the Forum Support paragraph and respond with the requested information.

It looks like you did not select the right port under Tools->Port.

Arduino: 1.8.10 (Windows 10), Board: "LilyPad Arduino, ATmega328P"

Sketch uses 1018 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

can i get the solution for this please........

Please enable file -> preferences -> show verbose output during upload and disable fike -> preferences -> show verbose output during compilation.

Try to upload and copy/paste all content in the output window here.