string tempFolder = System.Environment.GetEnvironmentVariable("SystemDrive");
string tempDrive = System.Environment.GetEnvironmentVariable("TargetDrive");
string executableDirectoryName = Path.GetDirectoryName(Application.ExecutablePath);
System.Diagnostics.Process defrag2 = System.Diagnostics.Process.Start(tempFolder + "\\" + "AusLogics_Defrag" + "\\" + "cdefrag.exe", "-dt -o {1}", tempDrive);
it gives me the error "No overload for method 'Start' takes 3 arguments" so what can i do get past this and use both sets of arguments? Also am i using the placeholder thing correctly?

New Topic/Question
Reply




MultiQuote





|