Search found 5 matches

by jbgtenn
07 May 2017 13:05
Forum: DOS Batch Forum
Topic: Assign Com Port to Variable
Replies: 4
Views: 4561

Re: Assign Com Port to Variable

Thank You, It worked perfect !!!
by jbgtenn
07 May 2017 11:45
Forum: DOS Batch Forum
Topic: Assign Com Port to Variable
Replies: 4
Views: 4561

Re: Assign Com Port to Variable

I wish i could help at once, but (sad to say): There's not a single com port on any of my PCs. So what is the output of: wmic path win32_pnpentity get caption | find "COM" penpen C:\temp>wmic path win32_pnpentity get caption | find "COM" Example Serial Port 1 (COM219) Example Se...
by jbgtenn
06 May 2017 19:08
Forum: DOS Batch Forum
Topic: Assign Com Port to Variable
Replies: 4
Views: 4561

Assign Com Port to Variable

I was hoping someone could assist me in my batch file. I have been using this : wmic path win32_pnpentity get caption | find "COM" to list com ports and manually assign them to a variable. set /p com="The device I am wanting#: " Was hoping there was a way to automatically search ...
by jbgtenn
11 Feb 2017 18:07
Forum: DOS Batch Forum
Topic: Hex To Little Endian
Replies: 5
Views: 6537

Re: Hex To Little Endian

Worked Perfect, Thanks!!
by jbgtenn
11 Feb 2017 13:17
Forum: DOS Batch Forum
Topic: Hex To Little Endian
Replies: 5
Views: 6537

Hex To Little Endian

I was needing help with a batch file that would ask for user Input and the script would reverse byte order and save as a variable to be used later in another script.

For example :

User Input : 1B C9 6F 9A Would need it to converted to 9A 6F C9 1B with spaces.