Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows desktop devices.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I don't have the patience and nerves to actually write up a solution - but you are on the right track.
You need to take a look at his other parts - that is part 1 of a series of 4. Long story short, you pass them like this
ApplicationData.Current.LocalSettings.Values["parameters"] = ...
Via a parameter, you can specify both the program to launch, and its args - then your Console companion app will read that parameter and launch your other app
Appreciate it.. will try it out ...
Do you have recommendations on "share data from 3rd party apps to our UWP app" apart from what we found
I'm confused how you call the bat file using windows application? Can you show more details about this? In addition, about how to share data from 3rd party apps to UWP app, you could try to use receive data method. Declaring your app as a share target and adding file types and formats you want to support. You need to match the type shared by source apps.
Hi @Fay Wang - MSFT
I have powershell script file with bellow code Start-Process notepad.exe 'C:\Users\admin\Documents\New Text Document.txt' I need to know how to launch this selected powerShell file in UWP App
Hi, you could try to use FullTrustProcessLauncher class. Adding Desktop Extension SDK and declaring the FullTrustProcess extension in manifest file. Then including a Win32 exe in your package that will get launched from the FullTrustProcessLauncher API, that Win32 exe can now invoke your powershell file. Here is a sample you could refer to it.
Sign in to comment