saman82 - 2012-10-29

Hi dudes,

I want to create some ports through a batch file with specified port names, and then I want to remove the port with that PortName. The remove <n> command removes the CNCAn and CNCBn ports, but when I create the forms, I don't know what <n> is. Is there a solution to remove the ports by their PortNames or to find <n>.
Actully I am running the batch file script from a C# application, so I cannot use list command to view the <n>.