Please enable JavaScript to view this site.

Take Command / TCC Help v. 28

@BTSERVICEPORT[n] : Returns the port used by the Bluetooth service whose index is n. (Indexes range from 0 to _btdevicecount.)

 

Example:

 

echo %@btserviceport[0]