--- a/trunk/cforge/cforge/Program.cs +++ b/trunk/cforge/cforge/Program.cs @@ -28,7 +28,7 @@ String arg = args[0].Remove(0, "cforge:".Length); List<string> newargs = new List<string>(); - String command = arg.Split(':')[0]; + String command = "--" + arg.Split(':')[0]; newargs.Add(command); string s = System.Uri.UnescapeDataString(arg.Remove(0, command.Length + 1)); s = System.Uri.UnescapeDataString(s); @@ -40,7 +40,7 @@ if (!Helper.CheckRegistryProtocol()) { - Console.WriteLine(@"[WARNING] URL Handler is not registered. CFORGE: links will not work properly. Use RegisterURLHandler.bat to do this (at <CODESYS Installation folder>\CFORGE\ )"); + Console.WriteLine(@"[WARNING] URL Handler is not registered. CFORGE: links will not work properly. Use Setup.bat to do this (at <CODESYS Installation folder>\CFORGE\ )"); } List<String> liScripts = Helper.GetAllScripts();