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

@@ -47,12 +47,6 @@ namespace DiscImageChef.Commands
DicConsole.DebugWriteLine("Media-Scan command", "--mhdd-log={0}", options.MHDDLogPath);
DicConsole.DebugWriteLine("Media-Scan command", "--ibg-log={0}", options.IBGLogPath);
if(!System.IO.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]))
{