Click or drag to resize

VolumeDefineDosDevice Method (String, String, DosDeviceAttributes)

Defines, redefines, or deletes MS-DOS device names.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void DefineDosDevice(
	string deviceName,
	string targetPath,
	DosDeviceAttributes deviceAttributes
)

Parameters

deviceName
Type: SystemString
An MS-DOS device name string specifying the device the function is defining, redefining, or deleting.
targetPath
Type: SystemString
>An MS-DOS path that will implement this device. If deviceAttributes parameter has the RawTargetPath flag specified, targetPath is used as is.
deviceAttributes
Type: Alphaleonis.Win32.FilesystemDosDeviceAttributes
The controllable aspects of the DefineDosDevice function, DosDeviceAttributes flags which will be combined with the default.
See Also