wdmtoolbox.wdmtoolbox.copydsn

wdmtoolbox.wdmtoolbox.copydsn(inwdmpath, indsn, outwdmpath, outdsn, overwrite=False)

Make a copy of a DSN.

Parameters:
  • inwdmpath (str) – Path and WDM filename of the input WDM file.

  • indsn (int) – Source DSN.

  • outwdmpath (str) – Path and WDM filename of the output WDM file.

  • outdsn (int) – Target DSN.

  • overwrite (bool) – Whether to overwrite the target DSN if it exists.