I want to launch a Win Form app from a metro style application.I tried Launcher.LaunchFileAsync(IStorageFile) | launchFileAsync(IStorageFile)
API
but the documentation says as metro application runs in a sand-boxed environment, many file types that contain executable code, for example .exe, .msi, and .js files, are blocked from launching.
I also tried Launcher.LaunchUriAsync(Uri, LauncherOptions) | launchUriAsync(Uri, LauncherOptions)
method wherein you need to pass a URI and options to launch the application.But,apps cannot use the file:///
protocol to access files on the local computer.
Is there a way i can create and launch a batch(.bat)file from my metro style application so that it will somehow execute the commands in it and launch the launching app .exe with some options? Any help will be appreciated :)