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


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

Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?)

Path csiph.com!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From Marion <marion@facts.com>
Newsgroups alt.comp.os.windows-10, alt.comp.software.firefox, comp.editors
Subject Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?)
Date Thu, 23 Jan 2025 21:02:07 -0000 (UTC)
Organization BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID <vmuaoe$833$1@nnrp.usenet.blueworldhosting.com> (permalink)
References <vm7ule$18gd$1@nnrp.usenet.blueworldhosting.com> <vmnfje$3s8aa$1@dont-email.me> <vmpd3f$gddl$2@dont-email.me> <vmqid8$varl$1@dont-email.me> <vmqqui$3a08v$1@news.xmission.com> <vmrida$2uab$1@nnrp.usenet.blueworldhosting.com> <vmrr9c$18478$1@dont-email.me> <vmsgis$1mvs$1@nnrp.usenet.blueworldhosting.com> <vmtfma$1l5a0$1@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Thu, 23 Jan 2025 21:02:07 -0000 (UTC)
Injection-Info nnrp.usenet.blueworldhosting.com; logging-data="8291"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
Cancel-Lock sha1:x3stXPuLcoyMGQ2Yn/0EegIR4ig= sha256:X1du1u1deOfyd6zazT2l/Ebv+24ixr6JNZgaH+s5XEU= sha1:YqBQ/4WxNcX5LRTfBG7G0cQ2wkU= sha256:Ff6+kQTInxYm+FSa9VKTPpkXswaHPB59/p9SPYbEJlg=
Xref csiph.com alt.comp.os.windows-10:181679 alt.comp.software.firefox:12073 comp.editors:106510

Cross-posted to 3 groups.

Show key headers only | View raw


On Thu, 23 Jan 2025 08:20:58 -0500, Newyana2 wrote :


>> Does anyone have a suggestion for a good cross-platform free HTML editor?
> 
>     Ha! You scandalous turncoat, you.

WTF?

What's needed for general use is a bookmarks file editor.
But we can start simpler than that, with a bookmarks file "appendor".

By that, I mean we can run a batch script to append a new bookmark
to the global bookmark file that works for all browsers, all platforms.

The input to that script is the easy part as that would be only 2 things:
1. The link (e.g., https://www.google.com/search?q=foo+bar)
2. The description of that link (my search)

That 'easy' part can be done with a Windows batch script:
  @echo off
  REM addbm.bat adds another link to the global bookmark file
  setlocal
  setlocal EnableDelayedExpansion
  
  set bmfile=C:\path\to\bm.htm
  echo.Global bookmark file is %bmfile%
  
  :input
  echo.Enter URL:
  set /p "url="
  echo.Enter Description:
  set /p "description="
  
  echo.Adding... %url% and %description%
  
  :append_html
  REM I need help escaping the angle brackets below!
  REM echo.<A HREF="%url%">%description%</A><P> >> %bmfile%
  REM echo.\<A HREF="%url%"\>%description%\<\/A\>\<P\> >> %bmfile%
  REM echo.^<^A HREF="%url%"^>^%description%^<^/A^>^^<P^>^ >> %bmfile%
  
  This works but I had to replace angle brackets with square brackets:
  echo.[A HREF="%url%"]%description%[/A][P] >> %bmfile%
  
  echo.%url% of %description% added to %bmfile%
  pause
  endlocal

My main problem above is simply I can't figure out (yet) how to 
escape the angle brackets "<" & ">" in the echo command.

Anyone know how to escape those angle brackets in a batch script?

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


Thread

How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 09:20 +0000
  Re: How to edit HTML source file on Windows in one step (not two)? Herbert Kleebauer <klee@unibwm.de> - 2025-01-15 11:42 +0100
    Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 11:28 +0000
      Re: How to edit HTML source file on Windows in one step (not two)? "R.Wieser" <address@is.invalid> - 2025-01-15 13:35 +0100
        Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 18:10 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? "R.Wieser" <address@is.invalid> - 2025-01-15 22:15 +0100
            Re: How to edit HTML source file on Windows in one step (not two)? "R.Wieser" <address@is.invalid> - 2025-01-16 14:29 +0100
      Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-15 13:36 +0100
        Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 18:10 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 23:08 +0100
            Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-17 04:28 +0000
              Re: How to edit HTML source file on Windows in one step (not two)? Herbert Kleebauer <klee@unibwm.de> - 2025-01-17 10:03 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-17 18:37 +0000
              Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 14:33 +0100
  Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-15 09:04 -0500
    Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 18:09 +0000
      Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-15 13:49 -0500
        Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-15 20:03 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-15 16:00 -0500
            Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-16 02:16 +0000
        Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 06:47 +0000
          Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 09:09 -0500
            Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 15:25 +0100
              Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 13:55 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? gazelle@shell.xmission.com (Kenny McCormack) - 2025-01-18 20:15 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 21:19 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 20:55 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 23:29 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-19 00:44 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-19 03:50 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-19 03:56 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-19 09:43 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-19 14:16 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-19 21:27 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Eric Pozharski <apple.universe@posteo.net> - 2025-01-22 17:57 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-19 08:18 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-20 01:13 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-20 01:15 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-20 14:00 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-21 04:48 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-21 13:28 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-21 08:39 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? Frank Slootweg <this@ddress.is.invalid> - 2025-01-21 14:00 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-22 00:09 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 16:56 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? gazelle@shell.xmission.com (Kenny McCormack) - 2025-01-18 21:57 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 17:40 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-18 23:33 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 20:54 +0000
            Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-18 20:50 +0000
              Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-18 17:36 -0500
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-19 00:46 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-19 10:00 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-19 21:16 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-20 03:04 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-20 09:26 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-21 04:47 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-21 07:41 +0100
                Re: How to edit HTML source file on Windows in one step (not two)? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-22 00:11 +0000
                Re: How to edit HTML source file on Windows in one step (not two)? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-22 11:48 +0100
                Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) gazelle@shell.xmission.com (Kenny McCormack) - 2025-01-22 13:13 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-22 19:54 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-22 22:25 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 04:29 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Newyana2 <newyana@invalid.nospam> - 2025-01-23 08:20 -0500
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 21:02 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 22:18 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Frank Miller <miller@posteo.ee> - 2025-01-24 00:25 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-23 23:35 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-23 23:48 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-24 00:48 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-24 11:30 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Frank Miller <miller@posteo.ee> - 2025-01-24 00:49 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-24 10:40 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-24 18:03 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Marion <marion@facts.com> - 2025-01-24 18:14 +0000
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-25 14:22 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) "Carlos E.R." <robin_listas@es.invalid> - 2025-01-25 14:39 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-25 17:48 +0100
                Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-23 23:46 +0000
    Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 15:05 +0100
      Re: How to edit HTML source file on Windows in one step (not two)? Newyana2 <newyana@invalid.nospam> - 2025-01-16 11:08 -0500
        Re: How to edit HTML source file on Windows in one step (not two)? "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 23:03 +0100
  Re: How to edit HTML source file on Windows in one step (not two)? Marion <marion@facts.com> - 2025-01-24 01:07 +0000

csiph-web