Computing.Net > Forums > Programming > Add new file extensions to registry

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Add new file extensions to registry

Reply to Message Icon

Name: Code One
Date: January 11, 2004 at 20:33:46 Pacific
OS: me
CPU/Ram: pent3-256mb
Comment:

hell,
id like to write a batch file that would merge reg files which would write to the classes root hive, and it would setup for me to add new file extensions, and associate them to my apps.

do i do it like this:

regedit4

[HKEY_CLASSES_ROOT\SHELL]
"FLAGSET"=":\PROGRA~1\MyApp.exe"

[HKEY_CLASSES_ROOT\SHELL\OPEN]
"FLAGSET"=".CDO"

Something like that?

thanks

code one




Sponsored Link
Ads by Google

Response Number 1
Name: Code One
Date: January 11, 2004 at 20:34:46 Pacific
Reply:

ooops meant:

"hello"

sorry bout that guys...

co


0

Response Number 2
Name: Code One
Date: January 11, 2004 at 20:44:02 Pacific
Reply:

Ok,
I figured out my first question:

so how do I associate my icon to this file the registry way?

thanks guys,

code one


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


pi and E calculations batch: copy one var to an...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Add new file extensions to registry

.hpgl / .obj file extensions to dis www.computing.net/answers/programming/hpgl-obj-file-extensions-to-dis/11533.html

copy or move files based on file extensions www.computing.net/answers/programming/copy-or-move-files-based-on-file-extensions/20072.html

Batch Scipt to Add the File Name to File www.computing.net/answers/programming/batch-scipt-to-add-the-file-name-to-file/19412.html