How to use the Windows command line shell to open files and folders

1. Current directory structure

Those familiar with DOS will know that previously, only .bat, .com and .exe could be executed. However, its now possible to open and run any file using the Windows command shell that has a program associated with it. This emulates the user opening the file from Window's File Explorer.

For example, given the directory listing below (which contains a copy of this website):