Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add item in desktop menu/new file (right click on desktop)?

Tags:

windows-7

I want to create new TXT file, but for some reason TXT file do not appears anymore when I click with right button on desktop, and go to 'NEW' (list of file types to create).

like image 583
Joao Paulo Avatar asked Nov 25 '13 13:11

Joao Paulo


2 Answers

I saw these instructions somewhere else. They were really useful for me.

To Add an Item in “New” menu:

  1. Type regedit in RUN dialog box and press Enter. Now expand “HKEY_CLASSES_ROOT” key.
  2. Now look for the file type which you want to add in “New” menu, e.g. for adding MP3 file type look for .MP3 key.
  3. Right-click on it and select “New -> Key” and give it name “ShellNew”.
  4. In right-side pane, right-click and select “New -> String Value”. Give it name “NullFile” and press Enter.
  5. Thats it. You’ll immediately get the file type entry in “New” menu.
like image 145
Alex Avatar answered Sep 25 '22 15:09

Alex


Detailing:

  1. Go to regedit
  2. Open "HKEY_CLASSES_ROOT"
  3. Find '.txt' and click on it
  4. Check if "(Default)" "Data" value is "textfile", if not, set it to "textfile"
  5. Check if "ShellNew" path exists in '.txt', if not, create it
  6. Check if "NullFile" string value exists in "ShellNew", if not, create it
  7. Find 'textfile' on "HKEY_CLASSES_ROOT" , if not exists, create it and set "(Default)" "Data" value to "Text Document" or other than you prefer
  8. Go to desktop / right mouse click / Refresh to see your new item in 'New' list

Basically 4 things are needed:

  1. .txt path with default value set as 'textfile'
  2. ShellNew path into .txt path
  3. 'NullFile' string value into ShellNew with no data
  4. textfile path with default value as the description of file
like image 27
Joao Paulo Avatar answered Sep 23 '22 15:09

Joao Paulo