However, Notepad and many other applications have a hidden side. Unfortunately,
you won??™t discover this hidden side by typing the command name followed by a /?.
Notepad and other Windows applications won??™t provide you with any help for using them at the
command line, yet this command line functionality still exists.
To locate such functionality, you must rely on the registry editor, RegEdit. To start this utility,
type RegEdit at the command line and press Enter. At this point you need to look at the HKEY_
CLASSES_ROOT hive. Locate the extension of the file that you want to work with. The example uses
the .txt entry shown in Figure 12.5. The (Default) entry shown in the right pane contains the
essential information; the file association. (For more information about file associations see
the ???Working with File Associations and Types??? section of Chapter 14.)
Figure 12.5
Locate the extension
of the file you want
to print from the
command line.
Now that you know the file association, locate its entry in the registry. Figure 12.6 shows the
entries for the txtfile association. The entry you want is the command for the print command shown
highlighted in the figure.
Pages:
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787