In Windows, there is no way to know if \\.\Whatever exists,

that I know of.
This commit is contained in:
2017-08-21 03:49:04 +01:00
parent 5c5a7445e0
commit 89163474c9
5 changed files with 0 additions and 30 deletions

View File

@@ -46,12 +46,6 @@ namespace DiscImageChef.Commands
DicConsole.DebugWriteLine("Device-Report command", "--verbose={0}", options.Verbose);
DicConsole.DebugWriteLine("Device-Report command", "--device={0}", options.DevicePath);
if(!File.Exists(options.DevicePath))
{
DicConsole.ErrorWriteLine("Specified device does not exist.");
return;
}
if(options.DevicePath.Length == 2 && options.DevicePath[1] == ':' &&
options.DevicePath[0] != '/' && char.IsLetter(options.DevicePath[0]))
{