Knowledgebase
FAQ VTECH > Help Desk > Knowledgebase

Fai una domanda:


Associare Programma A File senza estensione

Soluzione
DA PROMPT
assoc .="No Extension" ftype "No Extension"="C:\path\to\my editor.exe" "%1"

DA REGISTRO



  • Start the registry editor (regedit.exe)
  • Move to HKEY_CLASSES_ROOT
  • From the Edit menu select New - Key
  • Enter a name of '.' and press Enter (don't type the quotes)
  • Select the new '.' key
  • Double click the (Default) value
  • Change to the HKEY_CLASSES_ROOT used to open, e.g. NOTEPAD for the notepad.exe application NOTEPAD
  • Click OK

alt text

If you now double click on a file with no extension it will open with the application selected.

To check what an existing application used look at its entry under HKEY_CLASSES_ROOT, e.g. HKEY_CLASSES_ROOT.doc uses Word.Document.8 so if you wanted this as your default editor you would change HKEY_CLASSES_ROOT.(Default) to Word.Document.8.

Any method which avoids the need to edit the registry is as follows:

  • Open Explorer - View - Folder Options... - File Types - New Type:
  • Description of type: Text (any description, you can type in)
  • Associated extension: . (just a period)
  • Actions: - new...
  • Action: open
  • Application used to perform action: c:\winnt\notepad.exe
  • Click ok, then ok again
 
Ti è stato d'aiuto questo articolo? si / no
Dettagli articolo
ID Articolo: 59
Categoria: Knowledgebase
Data inserimento: 24-09-2015 01:50:41
Visite: 1359
Valutazione (Voti): Articolo valutato 3.0/5.0 (2)

 
<< Indietro