In Windows 7, I could launch a program like Notepad and pass it a command-line argument (the path and filename of a document to open) by typing:
notepad c:\users\jon\myfile.txt
Enter
In Windows 8 and Windows 10, although either of the following work fine to launch Notepad:
notepad
Enter (via the Start page / Metro UI)
+S
notepad
Enter (via the Search charm)
Adding a command-line argument as in the original example above does not work. It causes Windows to not find the program. (Windows 10 launches a web search for whatever I typed instead of running the program.)
So I have had to adjust my workflow in Windows 8/10 to (1) launch the application, and then (2) manually bring up a File Open dialog from within the application to load by document. It's annoying having to do in two separate steps what I used to be able to accomplish in Windows 7 with just one.
Running the application via +R (the old Windows XP style Run dialog) with command line arguments works, but only for applications that are on the Path -- not for applications that Windows can find via its Search feature.
Is there any way to get my original example above working under Windows 8/10?