hexagon logo

How do search for a certain probe across multiple programs with VBS

Ok,

I'd like to put forth this question,

I have 1400+ programs for my CMM and I'd like to search them and see which ones have a particular probe.
Is there anyway to do this with automation? I have done some searching here and found a few threads.

http://www.pcdmisforum.com/showthread.php?25931-probes-used-in-program&highlight=searching+programs

http://www.pcdmisforum.com/showthread.php?20996-Retrieving-Tip-File-from-external-program&highlight=searching+programs This one actually asks the same question, and the answer says it's theoretically possible.

This just beyond my ability to program at this point. I was hoping someone had done the work already
Parents
  • found a Windows method: FINDSTR

    Open a DOS shell window. Change to your main program directory and type the following command, replacing your probe name with the one in the example.

    FINDSTR /S/M "V.P.T.P.R.O.B.E.1" *.PRG


    the /s and /m switches will recurse into all the subdirectories and display only the name of the program i.e.:

    VPTPROGS/VPTPROGRAMNAME.PRG
Reply
  • found a Windows method: FINDSTR

    Open a DOS shell window. Change to your main program directory and type the following command, replacing your probe name with the one in the example.

    FINDSTR /S/M "V.P.T.P.R.O.B.E.1" *.PRG


    the /s and /m switches will recurse into all the subdirectories and display only the name of the program i.e.:

    VPTPROGS/VPTPROGRAMNAME.PRG
Children
No Data