File without the extension - assigment

P

Pszemol

I remember there is a location in the Registry I can put a default
"Open" actions for a "unknown" file class/extension but I am not
sure where is it. I would like to tell the os to use Notepad to
try to open any unknown file - just to view its contents - how?

I could add a shortcut to the Notepad to my "Send To" folder and
have Notepad on my right-click mouse menu in Send To submenu, but it
adds too many unnecesary mouse clicks... I would preffer to double
click to open Notepad with this file.
 
D

David Candy

.. will do it.

Type regedit in start run. Have a look at

HKEY_CLASSES_ROOT\.txt

and

HKEY_CLASSES_ROOT\txtfile\shell

You can either assign . to txt file or add you thing to .
So create this

HKEY_CLASSES_ROOT\.\shell\open\command
@=%SystemRoot%\system32\NOTEPAD.EXE %1

Yse Regexpand data type.
 
P

Pszemol

Yes, it would do it for files like "makefile." with no extension...
Is there similar place for "unknown extension"?
I could make a "default" handling of unknown files to Notepad...

.. will do it.

Type regedit in start run. Have a look at

HKEY_CLASSES_ROOT\.txt

and

HKEY_CLASSES_ROOT\txtfile\shell

You can either assign . to txt file or add you thing to .
So create this

HKEY_CLASSES_ROOT\.\shell\open\command
@=%SystemRoot%\system32\NOTEPAD.EXE %1

Yse Regexpand data type.
 
D

David Candy

What could it be? What could it be? What could it be? What could it be? What could it be? What could it be? What could it be? What could it be?

HKEY_CLASSES_ROOT\Unknown

All Files
HKEY_CLASSES_ROOT\*

All Folders - Real or Virtual
HKEY_CLASSES_ROOT\Folders

File Folders (real)
HKEY_CLASSES_ROOT\Directory

All files and real folders
HKEY_CLASSES_ROOT\AllFileSystemObjects

Subkey Description Possible Handlers Version
* All files Shortcut Menu, Property Sheet, Verbs (see below) All
AllFileSystemObjects All files and file folders Shortcut Menu, Property Sheet, Verbs 4.71
Folder All folders Shortcut Menu, Property Sheet, Verbs All
Directory File folders Shortcut Menu, Property Sheet, Verbs All
Directory\Background File folder background Shortcut Menu only 4.71
Network Entire network (under My Network Places) Shortcut Menu, Property Sheet, Verbs All
Network\Type\# All objects of type # (see below) Shortcut menu, Property Sheet, Verbs 4.71
NetShare All network shares Shortcut menu, Property Sheet, Verbs 4.71
NetServer All network servers Shortcut menu, Property Sheet, Verbs 4.71
network_provider_name All objects provided by network provider "network_provider_name " Shortcut menu, Property Sheet, Verbs All
Printers All printers Shortcut Menu, Property Sheet All
AudioCD Audio CD in CD drive Verbs only All
DVDFile DVD drive (Windows 98) Shortcut Menu, Property Sheet, Verbs 4.71
DVD DVD drive (Windows 2000) Shortcut Menu, Property Sheet, Verbs 4.71
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top