SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 208 | Next

David A. Karp

"Windows Vista Annoyances: Tips, Secrets, and Hacks"

exe
file), Explorer will launch the program instead of creating a new file.
Make sure to include the "%1" parameter (see ???Customize Context
Menus for Files,??? earlier in this chapter) so the target program knows
where to create the new file, like this:
c:\windows\system32\notepad.exe "%1"
Consult your application??™s documentation to see whether any other
command-line parameters are needed to create the new document; otherwise,
the program may just open and complain that it can??™t find the
(as yet nonexistent) file.
Data
Any text stored in this binary value will be placed into the new file. For
instance, the Data value for .rtf files (in HKEY_CLASSES_ROOT\.rtf\
ShellNew) contains the text, {\rtf1}, which ensures that the new .rtf file
144 | Chapter 3: The Registry
is readable by whatever program you use to open it. Explorer ignores
the Data value if either FileName or NullFile is specified.
FileName
This is the full path and filename of a template file??”a file to be copied
and used for each new document you create??”in lieu of creating an
empty (zero-byte) file. If you don??™t include the path, Windows looks in
C:\Users\{your_user_name}\AppData\Roaming\Microsoft\Templates as well
as C:\Windows\ShellNew for the template file.
Handler
The Class ID (e.g., {CEEFEA1B-3E29-4EF1-B34C-FEC79C4F70AF}) of the
shell extension used to create the new file. For example, Windows
Shortcuts (.lnk files) use a handler.
IconPath
The full path and filename (plus the icon index) of the icon that appears
next to the item in Windows Explorer??™s New menu.


Pages:
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6