Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Search the Community

Showing results for tags 'cmd\batch file'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • The General Stuff
    • Announcements
    • Introduce Yourself!
    • General Discussion
  • Microsoft Software Products
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Server 2008/2012/2016
    • Older Windows NT-Family OSes
    • Windows 9x/ME
    • Other Microsoft Products
  • Unattended Windows Discussion & Support
    • Unattended Windows
    • Other Unattended Projects
  • Member Contributed Projects
    • Nuhi Utilities
    • Member Projects
    • Other Member Contributed Projects
    • Windows Updates Downloader
  • Software, Hardware, Media and Games
    • Forum Categories
    • Mobile Devices
  • Customizing Windows and Graphics
    • Customizing Windows
    • Customizing Graphics
  • Coding, Scripting and Servers
    • Web Development (HTML, Java, PHP, ASP, XML, etc.)
    • Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
    • Server - Side Help (IIS, Apache, etc.)
  • X's Concepts
  • The Compaq Computer Corporation Club's Discussion


There are no results to display.

There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL





Found 1 result

  1. Hi I ask for help in extracting a particular substring from a set of strings in text files, I will show an example to better explain: this is the txt file: " USB\VID_19D2&PID_1589&MI_03\7&110C67F3&0&0003 : ZTE UI AT Interface (COM3) USB\VID_19D2&PID_1589&MI_04\7&110C67F3&0&0004 : ZTE Voice Device (COM4) USB\VID_19D2&PID_1589&MI_05\7&110C67F3&0&0005 : ZTE Diagnostics Device (COM16) USB\VID_2341&PID_0043\95634303432351E031F1 : Arduino Uno (COM7) ACPI\PNP0401\5 : ECP Printer Port (LPT1) ACPI\PNP0501\0 : Communications Port (COM1) USB\VID_23C1&PID_D314\FFFFFFFFFFFF51BA21D4 : MightyBoard, S3G via Serial (COM8) 7 matching device(s) found. " the data i need from this text is the COM numbers for the USB ports only, and so, I would like to get an output text file which will contain the following text: "3,4,16,7,8" BTW, this is the output of DEVCON for mapping the USB ports. Your help will be much appreciated. Thanks Mosh
  • Create New...