win32file.DefineDosDeviceW

DefineDosDeviceW(flags, deviceName, targetPath)

Lets an application define, redefine, or delete MS-DOS device names.

Parameters

flags : int

flags specifying aspects of device definition

deviceName : string

MS-DOS device name string

targetPath : string

MS-DOS or path string for 32-bit Windows.