Previously I installed IrfanView locally (as a normal application). I was able to execute the following successfully in AutoHotkey to open a specific folder within the app:
run, "C:\Program Files\IrfanView\i_view64.exe" N:\AutoScreenCapture\Right2Monitor
Now, I have uninstalled IrfanView and re-installed it as a Windows 10 app. When doing this, the application exe is not accessible in the same way (since it is stored now in the Windows 10 app directory).
How can I formulate a similar run command for a Windows 10 native app? According to a similar question and the forum link, it should be possible to do this using a bat file pointing to a shortcut and adding the parameters at end of it? Bt I can't even get the shortcut to launch with following:
run, "N:\Users\Ahmed\Desktop\IrfanView 64-bit App - Shortcut.lnk"
I prefer a run command that I can use in AHK but a PS script is fine.