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


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

Re: {rightclick} New | Text Document

From Herbert Kleebauer <klee@unibwm.de>
Newsgroups alt.comp.os.windows-10, alt.comp.os.windows-11
Subject Re: {rightclick} New | Text Document
Date 2024-11-08 21:53 +0100
Organization A noiseless patient Spider
Message-ID <vgltr1$3brmr$1@dont-email.me> (permalink)
References <velo9h$3r5$1@news.samoylyk.net> <vgk1be$cmdj$1@news.samoylyk.net> <vgkgt0$34b07$1@dont-email.me> <vgl6cs$1kf7$1@news.samoylyk.net>

Cross-posted to 2 groups.

Show all headers | View raw


On 08.11.2024 15:14, Wolf Greenblatt wrote:
> On Fri, 8 Nov 2024 09:07:43 +0100, R.Wieser wrote:
> 
>>> HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\1.exe
>>> @Default = c:\path\seedclip_template1.bat
>> 
>> What is this preoccupation with the abuse of that "app paths" registry key ?
> 
> How the App Paths Registry Key Makes Windows Both Faster and Safer
> https://helgeklein.com/blog/how-the-app-paths-registry-key-makes-windows-both-faster-and-safer/

I don't see why it will make Windows "Faster and Safer".


>> Create a folder and add it to the PATH environment variable* (which is 
>> something you only need to do once).  After that you can just drop any 
>> program or batch file into it and start it using the "run" dialog (or from a 
>> command console) - no "app path" fumbling needed anymore.
> 
> The article cited explains why it's sophomoric to modify the PATH variable.

There is nothing explained.


> The App Paths key provides a per-process PATH configuration which increases
> security by eliminating the need to touch the global system PATH variable.

Why does this increase security?


A Windows App normally isn't just a single exe file but comes with a lot
of additional files, so it needs its own program directory. If you have
a lot of such Apps installed it would be indeed a stupid idea to add all
these program directories to the PATH variable. On the other side, if
you have dozens of single file utilities or batch files, then it would
be stupid, to spread them all over the disk and use a Registry entry
for each of them. Just put them all in a single command directory and
add it to the PATH variable.

When setting up a new PC, the first thing I do, is to copy this command
directory to the new PC and modify the PATH variable. Then my collection
of helper utilities is immediately available.



> When I want template #1 for example, I type "1" in the Runbox.
> When I want template #2, I type "2"; "3" for template #3, etc.

Instead of typing <WIN>-R I prefer to have a CMD window open all
the time. I simple click into the task bar brings it to foreground
so you can enter the commands. But when using the AppPath method
to register 1.exe, 2.exe and 3.exe you have to type "start 1",
"start 2" or "start 3", 1, 2 or 3 works only with the PATH method.
                                                        
                  




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


Thread

{rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-10-15 08:47 -0400
  Re: {rightclick} New | Text Document Big Al <alan@invalid.com> - 2024-10-15 09:53 -0400
  Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-10-15 16:43 +0200
    Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-10-15 13:04 -0400
      Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-10-16 00:44 +0200
        Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-10-16 01:49 +0200
          Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-10-15 23:12 -0400
            Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-10-16 09:44 +0200
              Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-10-16 16:31 -0400
            Re: {rightclick} New | Text Document Newyana2 <newyana@invalid.nospam> - 2024-10-16 08:52 -0400
  Re: {rightclick} New | Text Document Newyana2 <newyana@invalid.nospam> - 2024-10-15 11:26 -0400
  Re: {rightclick} New | Text Document Paul <nospam@needed.invalid> - 2024-10-15 13:38 -0400
  Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-07 22:42 -0500
    Re: {rightclick} New | Text Document "R.Wieser" <address@is.invalid> - 2024-11-08 09:07 +0100
      Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-08 09:14 -0500
        Re: {rightclick} New | Text Document "R.Wieser" <address@is.invalid> - 2024-11-08 17:18 +0100
          Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-08 13:58 -0500
            Re: {rightclick} New | Text Document "R.Wieser" <address@is.invalid> - 2024-11-08 22:18 +0100
              Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-08 20:24 -0500
                Re: {rightclick} New | Text Document "R.Wieser" <address@is.invalid> - 2024-11-09 10:22 +0100
        Re: {rightclick} New | Text Document "R.Wieser" <address@is.invalid> - 2024-11-08 17:30 +0100
        Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-11-08 21:53 +0100
          Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-08 23:14 -0500
            Re: {rightclick} New | Text Document Zaidy036 <Zaidy036@air.isp.spam> - 2024-11-09 10:20 -0500
              Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-25 17:50 -0500
            Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-11-09 16:35 +0100
            Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-11-09 16:36 +0100
            Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-11-09 16:37 +0100
            Re: {rightclick} New | Text Document Herbert Kleebauer <klee@unibwm.de> - 2024-11-09 16:38 +0100
            Re: {rightclick} New | Text Document Wolf Greenblatt <wolf@greenblatt.net> - 2024-11-25 18:04 -0500

csiph-web