Windows XP Com ports RRS feed

  • Question

  • Hi, on a daily basis I work on windows xp, where I work we have clients who are using Cash Guard which is connected to the machines via a usb to serial converter. The port's Bits(Baud rate) has to be set to 9600 for the Cash Guard to work. Now and then the Cash Guard does not want to work and I then have to delete the com port as the com port is in use. I delete the com port and then instead of windows changing the baud rate to  9600 it changes it to 1200. In command prompt I then type "mode com7: 9600,n,8,1" and it changes the com ports mode correctly. But I just want to know is there a way to use command prompt to delete the com port and add it again?

    Saturday, August 31, 2013 8:26 AM


  • I don't think we have addition/deletion option via cmd line.

    This is all what we have :

    Configures system devices.

    Serial port:       MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s]
                                    [to=on|off] [xon=on|off] [odsr=on|off]
                                    [octs=on|off] [dtr=on|off|hs]
                                    [rts=on|off|hs|tg] [idsr=on|off]

    Device Status:     MODE [device] [/STATUS]

    Redirect printing: MODE LPTn[:]=COMm[:]

    Select code page:  MODE CON[:] CP SELECT=yyy

    Code page status:  MODE CON[:] CP [/STATUS]

    Display mode:      MODE CON[:] [COLS=c] [LINES=n]

    Typematic rate:    MODE CON[:] [RATE=r DELAY=d]

    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Saturday, September 7, 2013 9:55 AM