I find myself flashing and re-flashing several Particle devices what seems like hundreds of times a day. To make this process less painful i have been using the command
mode COM# 14400 to remotely force the device into DFU mode. This has been a godsend for my orcish fingers.
Unfortunately, each time I connect to a new device via USB the COM port changes. I have to check the device manager each and edit my command.
Is there a way to auto detect the new COM port or use a wildcard of some kind to search? Alternatively, is there another command that will force the device into DFU mode that does not require the specific COM port? This is simply a quality of life improvement to placate my laziness. Any tips would be greatly appreciated.