I can open one file from c# as follows:
string exe = "C:\\Windows\\System32\\rundll32.exe"
string arguments = "\"C:\\Program Files (x86)\\Windows Photo Viewer\\PhotoViewer.dll\", ImageView_Fullscreen c:\\test.jpg";
Process.Start(exe, arguments);
but when I try opening multiple files as follows
string exe = "C:\\Windows\\System32\\rundll32.exe"
string arguments = "\"C:\\Program Files (x86)\\Windows Photo Viewer\\PhotoViewer.dll\", ImageView_Fullscreen c:\\test.jpg & c:\\test2.jpg";
Process.Start(exe, arguments);
It works for one file or on the command line but it doesn't work in c#. Anyone have any ideas?
[This is the re-post of the inquirer's previous questions:
Open multiple files using photo viewer[
^]. As I can see, my syntax fix is taken into account, but the problem is probably not solved. —SA]