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 195 | Next

David A. Karp

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


File Type Associations | 135
The Registry
select Open, and Windows runs the program listed in HKEY_CLASSES_ROOT\
Excel.Sheet.12\shell\Open\command. For example:
"C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e
The quotes around the full path and filename of the application accommodate
the spaces, and tell Windows where the filename ends and the command-line
options (such as /e, here) begin. Most of the time, though, the commandline
contains a placeholder, %1, for the selected filename, like this:
"C:\Program Files\UltraEdit\UEDIT32.EXE" "%1"
When Windows opens this program, it passes the full path and filename of
the selected file to the program by putting it in place of %1, like this:
"C:\Program Files\UltraEdit\UEDIT32.EXE" "C:\Users\Janeane\Desktop\readme.txt"
Now, that little option, %1, is the cause of a lot of problems in Windows??™ file
types system, such as:
Application displays ???not found??? error. The quotation marks are missing
around the "%1" and the document you??™re trying to open has a space in
its file- or pathname. Just add the quotes and try again.
Older application displays a ???bad command line??? error or something
similar. Not all programs respond well to the quotation marks around the
"%1" parameter. Try taking them out if this happens.
Application doesn??™t open the file at all. The "%1" parameter is missing altogether,
or the application requires a different syntax. For instance, the
Mozilla SeaMonkey web browser requires the -url parameter in front of
%1, like this:
C:\Program Files\Mozilla SeaMonkey\seamonkey.


Pages:
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6