diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index 9d9aafd6b62054110ea2308ac67f8ce696d1f32f..0b028f804558363179a91e640d4f2579ab561384 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -155,6 +155,12 @@ namespace AutoTx @" and a backslash, e.g. 'D:\'!"); configInvalid = true; } + var driveInfo = new DriveInfo(_config.SourceDrive); + if (driveInfo.DriveType != DriveType.Fixed) { + writeLog("ERROR: SourceDrive (" + _config.SourceDrive + ") must be a " + + "local (fixed) drive, OS reports '" + driveInfo.DriveType + "')!"); + configInvalid = true; + } // spooling directories: IncomingDirectory + ManagedDirectory if (_config.IncomingDirectory.StartsWith(@"\")) {