Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #186328

Re: Creating new files of indeterminate sort?

From Chris <ithinkiam@gmail.com>
Newsgroups alt.comp.os.windows-10
Subject Re: Creating new files of indeterminate sort?
Date 2025-07-29 06:26 +0000
Organization A noiseless patient Spider
Message-ID <1069pjh$2gaer$1@dont-email.me> (permalink)
References <1067nhn$21tqk$2@dont-email.me> <1067pr0$3gdcc$1@dont-email.me>

Show all headers | View raw


Paul <nospam@needed.invalid> wrote:
> On Mon, 7/28/2025 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 probably is a way to make a .css file from a menu.
> 
> In Notepad, setting the filetype to "All Files" and saving as "some.css"
> seems to give a CSS file without a .txt glued to the end. It does not
> look like the operation is that much of a trauma, to be done manually :-)
> 
> On the Macintosh, there was a utility called "FileTyper" which everyone
> used, and that is the rough equivalent of changing the extension from
> .txt to .css . It's a popular topic, this object oriented override wish
> we have. On their utility, it still takes typing, to make the change.
> Just in case you were thinking the utility was a mind reader and did
> the right thing without asking.
> 
> But making a menu with the creation capability for 200 item types,
> does that make sense ? That's what we have to ask. On Linux, there
> is one wildcard file type and it is a "New.txt" kind of thing (users
> edit the details), there is a folder creation item and so on. They
> don't have 200 file types in their menu, and they also don't even
> rely on the extension for identifying files. A CSS would be detected
> by having "CSS constructs" or a "CSS magic number" near the top of the file.
> 
> On Linux, there are at least 100 different text file types which the
> "file" utility recognizes. Including text file types I would claim
> to you are "damaged goods", Linux identifies them as if they
> exist intentionally. Like a text file, where the line termination
> style changes... half way through the document. Linux has a detection
> for that.

"file" uses the magic number to identify the file type. It doesn't care
what the extension is. Linux overall also doesn't generally care either. 

On linux I would use the 'touch' command to create whatever empty new file
I wanted. No need for a gui or mouse clicks. 


Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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