Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #186299
| From | "Alan K." <alan@invalid.com> |
|---|---|
| Newsgroups | alt.comp.os.windows-10 |
| Subject | Re: Creating new files of indeterminate sort? |
| Date | 2025-07-28 08:53 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <1067rrj$257jq$1@dont-email.me> (permalink) |
| References | <1067nhn$21tqk$2@dont-email.me> |
On 7/28/25 7:39 AM, J. P. Gilliver wrote:
> Is there any way to add something of the sort to the "New ..." menu in
> File Manager?
>
> I recently wanted to create a .css file, for example. The only way I
> know is to create a new text file (that's the only option that makes a
> file of zero size), then rename it, accepting the warning about changing
> the extension. (Or create and edit it as a text file, then have to
> fiddle with the name in the save function in Notepad or whatever editor.)
There seems to be. I'm not able to get to my Windows machine to verify this but I've
added one or two to my system. Also removed a few.
https://www.nirsoft.net/utils/shell_menu_new.html
This is a nice utility to edit/remove items from the right click 'new' menu.
Not sure it allows adding though.
Copilot seems to think this is a valid way to manually add an item.
---------------
🛠️ Steps to Add a New File Type to 'New' Menu:
Open Registry Editor:
Press Win + R, type regedit, and hit Enter.
Navigate to File Extension Key:
Go to HKEY_CLASSES_ROOT\.sh (for Bash scripts, for example).
If the key doesn’t exist, create it.
Create or Open the ShellNew Key:
Right-click on .sh, choose New > Key, name it ShellNew.
Add a String or DWORD Value: You have options here:
Add a NullFile entry (no value): creates a blank file when used.
Or add a FileName string value pointing to a template (e.g., "FileName"="template.sh").
Place the template in C:\Windows\ShellNew\.
Confirm It Works:
Right-click on the desktop or in a folder, open the “New” submenu, and your new file type
should appear.
----------------------------------------------
Also it gives this registry key and says the key governs file type handlers.
HKEY_CLASSES_ROOT\.extension\ShellNew
Maybe this gets you started. Bottom line is, yes, it can be done.
--
Linux Mint 22.1, Thunderbird 128.13.0esr, Mozilla Firefox 141.0
Alan K.
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-28 12:39 +0100
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-28 08:18 -0400
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-28 16:46 +0100
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-28 18:51 +0200
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-28 19:10 +0100
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-28 22:18 +0200
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-29 01:37 +0100
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-29 09:10 +0200
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-29 18:46 +0100
Re: Creating new files of indeterminate sort? knuttle <keith_nuttle@yahoo.com> - 2025-07-29 13:58 -0400
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-29 20:21 +0200
Re: Creating new files of indeterminate sort? knuttle <keith_nuttle@yahoo.com> - 2025-07-29 15:20 -0400
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-29 21:47 +0200
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-29 22:38 +0100
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-30 08:57 +0200
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-29 22:02 -0400
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-30 09:54 +0200
Re: Creating new files of indeterminate sort? Philip Herlihy <nothing@invalid.com> - 2025-07-30 14:24 +0100
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-30 09:55 -0400
Re: Creating new files of indeterminate sort? knuttle <keith_nuttle@yahoo.com> - 2025-07-30 13:44 -0400
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-30 23:33 -0400
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-29 10:03 +0200
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-29 10:15 +0200
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-29 22:51 +0100
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-30 09:42 +0200
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-30 10:02 -0400
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-30 17:04 +0200
Re: Creating new files of indeterminate sort? "J. P. Gilliver" <G6JPG@255soft.uk> - 2025-07-30 21:49 +0100
Re: Creating new files of indeterminate sort? Mark Lloyd <not.email@all.invalid> - 2025-07-30 18:15 +0000
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-30 23:37 -0400
Re: Creating new files of indeterminate sort? Chris <ithinkiam@gmail.com> - 2025-07-29 06:26 +0000
Re: Creating new files of indeterminate sort? Paul <nospam@needed.invalid> - 2025-07-29 12:06 -0400
Re: Creating new files of indeterminate sort? Philip Herlihy <nothing@invalid.com> - 2025-07-28 13:40 +0100
Re: Creating new files of indeterminate sort? knuttle <keith_nuttle@yahoo.com> - 2025-07-28 12:43 -0400
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-28 14:49 +0200
Re: Creating new files of indeterminate sort? "Alan K." <alan@invalid.com> - 2025-07-28 08:53 -0400
Re: Creating new files of indeterminate sort? Herbert Kleebauer <klee@unibwm.de> - 2025-07-28 17:01 +0200
Re: Creating new files of indeterminate sort? "R.Wieser" <address@is.invalid> - 2025-07-28 17:21 +0200
csiph-web