My system PATH variable contains "C:\myfiles" and I have a file "C:\myfiles\abc.txt".
Now I want to open it by notepad via command prompt using just "notepad abc.txt"
I expect it to open "C:\myfiles\abc.txt" (just like Bash), but it opens a file from my home directory.
How to make command prompt to search for files in PATH variables first?