From 545c09e691d2b66994e7b6428582b4cf66d5515a Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 25 Jun 2010 19:59:06 +0000 Subject: WinGui: - Added batch folder scan support to the executable on launch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3406 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win') diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 1a7590b54..d1d721d81 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -176,7 +176,7 @@ namespace Handbrake queueRecovery(); // If have a file passed in via command arguemtents, check it's a file and try scanning it. - if (args.Length >= 1 && File.Exists(args[0])) + if (args.Length >= 1 && (File.Exists(args[0]) || Directory.Exists(args[0]))) { this.StartScan(args[0], 0); } -- cgit v1.2.3