Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

TheBlackAdder

(28,664 posts)
Sun Jul 14, 2024, 01:49 PM Jul 14

Windows 11: Text Document was Removed from File Explorer New option (Classic Notepad .txt)

This was a little PITA (pain in the ass) to resolve as there were a bunch of hack entries online.

When in a folder and right mouse clicking to create a new .txt file, under the New option used to be Text Document, which would open up a generic Notepad session. This seems to have been removed in some update to Windows 11. There are hacks to define it and associate it to a txtfilelegacy entry, but that seems hokey.


Here's what I did to restore the Text Document option.
Note: You MUST be familiar with the Windows Registry Editor and System Restore methods.


1) Verify the location of notepad.exe.


2) Launch regedit from the search bar and Backup your registry using its File > Export command and save it.


3) In the left pane, under HKEY_CLASS_ROOT, expand .txt


4a) Right click .txt and select New > Key

4b) Name it ShellNew (case sensitive, Capital S & N). ShellNew is a reserved word to set New options.


5a) Select ShellNew. On the right pane, under (Default) right click and select New > String Value

5b) Name it command (all lowercase)

5c) Verify and set to what you got from Step #1: ie. %SystemRoot%🚫system32🚫NOTEPAD.EXE %1
Note: Backslashes do not display at DU. There is a backslash before and after system32 (🚫 used in its place).




6) Open Task Manager and sort on the Name column. Right click Windows Explorer and select Restart.


7) In a folder, you should now be able to right click, select New and the Text Document option should appear.


This also works for other applications that you might want to add to this list.

To remove an application from the list, search regedit for ShellNew. When you find the application extension you want to remove, rename that entry's ShellNew to ShellNew_orig. Windows won't process it, but it is there if you want to readd it by renaming it back. You might need to restart Windows Explorer to pick up these changes.


As we say in the tech field, "No warranties expressed or implied. Your mileage might vary. Use at your own risk."

1 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Windows 11: Text Document was Removed from File Explorer New option (Classic Notepad .txt) (Original Post) TheBlackAdder Jul 14 OP
Every new release of Windows now does at least two things.... Thunderbeast Jul 14 #1

Thunderbeast

(3,508 posts)
1. Every new release of Windows now does at least two things....
Sun Jul 14, 2024, 02:24 PM
Jul 14

1. It kills a legacy feature that was simple, reliable, and bundled with the operating system.


2. It drives you to a Microsoft subscription "service" with annoying pop-ups. The advent of Windows 11, and the requirement to replace older computers (driving the need for new licenses) will "brick" millions of computers.





Latest Discussions»Help & Search»Computer Help and Support»Windows 11: Text Document...