win32file.DefineDosDeviceW

DefineDosDeviceW(flags, deviceName, targetPath)

Lets an application define, redefine, or delete MS-DOS device names. (NT/2000 Unicode specific version)

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.