Forum Discussion
Siva116
Aug 26, 2021Brass Contributor
Shortcut pointing to Batch script (.bat file) - PSF Tool not worked.
Hi All, Scenario: I have an app with multiple shortcuts, in those one shortcut's Target is "cmd.exe" and argument is path of a batch script file(.bat file). I have tried to create MSIX package with ...
Pollewops
Sep 22, 2021Iron Contributor
TIMOTHY_MANGAN related to your answer, you posted: Thanks for posting the json. I'm not sure why the main bat file is started via cmd inside a powershell, but the scripting portion looks fine.
Is there another way of starting the BAT file, which is located in the bubble and should be run in the bubble? This seems to be the only way we could find. Another way was to use CMD.exe, but then it works only when we used a cmd.exe copy added to the package. When we ran c:\windows\system32\cmd.exe it seems the BAT file does not start in the bubble, but outside 😞
Sep 27, 2021
My 2021.09.26 build of the PSF will now let you have PsfLauncher executable be a cmd or bat file that will run inside the container.