I am launching a powerpoint file from from my uwp app using the following code:
Windows.System.Launcher.LaunchFileAsync("MyPath\powerpointFile.ppt");
and this works absolutely fine.
I would now like to provide some command line arguments to this method, but looking at the documentation I can't see any mention of command line arguments.
Is it possible to open a file and pass command line arguments to it using Launcher
in a uwp application
My desktop application currently opens the powerpoint file like so:
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "POWERPNT.exe";
startInfo.Arguments = "/S " + "\"" + fileName + "\"";
var process = Process.Start(startInfo);