How to find your COM Port Windows Vista/7 1. Click on the Start button in the bottom left corner of your screen 2. Then type 'devmgmt.msc', and hit Enter 3. If Windows asks for your permission to continue, click on Continue 4. When the device manager shows up, Find the entry that says 'Ports (COM & LPT)' and click on the beside it to expand it. Keywords: Serial port communication in Windows 7 using Hyper-terminal and Putty, Putty, Hyper terminal in Windows 7. Some times you need to access serial port of your PC/LAPTOP to perform some actions like if you want to connect a GSM modem or if you are an Embedded systems programmer then to access program or interface your micro-controllers to your system.
Is there a Windows command for opening serial ports, say COM3 via the command prompt in Windows 7? For example:
I cannot use pyserial or any other utilities that are not distributed with Windows 7.
Preferred solutionOpening a COM port in QBasic on Windows 7
Ross Ridge2 Answers
Maybe you can use the Powershell? It's included in Win7...
code taken from here http://blogs.msdn.com/b/powershell/archive/2006/08/31/writing-and-reading-info-from-serial-ports.aspx
Writing to a Serial Port
Reading from a Serial Port
MaxMaxTo send contents of a file to a serial port:
To send a few characters to a serial port: