win32file.DefineDosDevice

DefineDosDevice(flags, deviceName, targetPath)

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

Parameters

flags : int

flags specifying aspects of device definition

deviceName : PyUnicode

MS-DOS device name string

targetPath : PyUnicode

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