Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #179808
| From | Herbert Kleebauer <klee@unibwm.de> |
|---|---|
| Newsgroups | alt.comp.os.windows-10 |
| Subject | Re: {rightclick} New | Text Document |
| Date | 2024-11-09 16:35 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <vgnvg5$3rhe7$1@dont-email.me> (permalink) |
| References | (1 earlier) <vgk1be$cmdj$1@news.samoylyk.net> <vgkgt0$34b07$1@dont-email.me> <vgl6cs$1kf7$1@news.samoylyk.net> <vgltr1$3brmr$1@dont-email.me> <vgmnip$5uia$1@news.samoylyk.net> |
On 09.11.2024 05:14, Wolf Greenblatt wrote: > On Fri, 8 Nov 2024 21:53:12 +0100, Herbert Kleebauer wrote: I remove the cross post to alt.comp.os.windows-11 because I think, everybody who reads the Win11 group also reads the Win10 group (and because my Thunderbird refuses to do this cross post, I have to manually insert the second group in the posting stored in the Outbox). I also will split the answer in more postings to make it better readable. > I simply export the App Paths key from one machine & load it into another. > It just works. If you have to manually select just your entries, then this is not a "simply" task. > You export from one machine. You import into the new machine. > And all your commands work the same on both machines. But it is much more work than just editing the PATH. And you have to modify the registry every time you add or delete a utility. >> 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. > > Each method works. Neither is "abuse" of the mechanism Microsoft provided. No, just typing 1,2 or 3 in a cmd window doesn't work if you use the AppPath method instead of PATH. CMD doesn't look into the registry. > As the other guy already said, the best way to do this (using either > method) is to write a script that has as input which template you want. > command template1 > command template2 > command template3 Not if there are just a few templates (because you have to type more). With your example: If 1.bat, 2.bat and 3.bat should insert 10, 20 or 30 separator lines. I would just make one batch file with the name 0.bat and this content: @echo off set /a n=%~n0% * 10 if %n%==0 set /p n=How much lines? (for /l %%i in (1,1,%n%) do @echo ==============================&echo.)|clip pause Then generate 3 more names for the file: mklink /h 1.bat 0.bat mklink /h 2.bat 0.bat mklink /h 3.bat 0.bat It is still only one file but with four names. It doesn't matter which one you edit, the content is always identical. But if you start the batch by the name 1.bat, 10 lines are stored in the clipboard. 2.bat stores 20 and 3.bat 30 lines. If you start it by 0.bat, you are asked for the number.
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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