hexagon logo

Script to make a change in all programs?

All of our programs are set up to automatically save reports to a specific directory based on part number. IT has decided they need to re-map our entire network which means I need to edit all of our programs to save reports according to the new network mapping scheme. Is it possible to use a script for this task? If so, does anyone have an example of how to do this?
Parents
  • I do something kind of like DaSalo, except that I utilize drive mappings on the computer.

    My CMMs have their default directories pointing to a simple folder structure on a "P:" drive:

    Programs - P:\PROGRAMS\
    Probes - P:\PROBES\
    Recall - P:\RECALL\
    Subroutines - P:\SUBROUTINES\

    These are also the paths I will use to recall any scripts or subroutines from (e.g. "P:\SUBROUTINES\DOSTUFF.BAS")

    If we want to change the location of where all these folders are I can just remap my P: drive to a new location, I just have to make sure I maintain the same structure of subfolders (PROGRAMS / PROBES / etc.)
Reply
  • I do something kind of like DaSalo, except that I utilize drive mappings on the computer.

    My CMMs have their default directories pointing to a simple folder structure on a "P:" drive:

    Programs - P:\PROGRAMS\
    Probes - P:\PROBES\
    Recall - P:\RECALL\
    Subroutines - P:\SUBROUTINES\

    These are also the paths I will use to recall any scripts or subroutines from (e.g. "P:\SUBROUTINES\DOSTUFF.BAS")

    If we want to change the location of where all these folders are I can just remap my P: drive to a new location, I just have to make sure I maintain the same structure of subfolders (PROGRAMS / PROBES / etc.)
Children
No Data