Excellent work, Steffen!
Just one question… what do you mean by ACP 1252 and OEMCP 850?
How can I have 2 different code pages active at once? If I chcp 1252, how can the code page be 850 at the same time?
Thanks!
- SB
Search found 222 matches
- 07 Aug 2022 05:43
- Forum: DOS Batch Forum
- Topic: JSORT.BAT v4.2 - problems with german umlauts
- Replies: 16
- Views: 7894
- 06 Aug 2022 05:59
- Forum: DOS Batch Forum
- Topic: JSORT.BAT v4.2 - problems with german umlauts
- Replies: 16
- Views: 7894
Re: JSORT.BAT v4.2 - problems with german umlauts
aGerman wrote:
But can you explain why replacing WScript.Echo with WScript.StdOut.WriteLine solves the umlaut problem?
- SB
Thanks for the tip, Steffen!Replace all occurrences of WScript.Echo with WScript.StdOut.WriteLine
But can you explain why replacing WScript.Echo with WScript.StdOut.WriteLine solves the umlaut problem?
- SB
- 19 Feb 2022 17:08
- Forum: DOS Batch Forum
- Topic: reverse string without goto
- Replies: 10
- Views: 14506
Re: reverse string without goto
Hello All! :) Thanks again to @penpen for his informative reply. And belated thanks to @npocmaka_, @pieh-ejdsch, and @aschipfl for their awesome versions of how to reverse a string. I must confess I can’t completely follow their approaches. Something about repeatedly halving the string and substitut...
- 18 Dec 2021 19:44
- Forum: DOS Batch Forum
- Topic: toggle case
- Replies: 2
- Views: 2896
toggle case
Hello All! :) Sorry I haven't posted in a while. To borrow Harold Macmillan’s immortal line : Events, my dear boy, events. Anyways, here’s a little something I’ve been working on: @echo off & setLocal enableExtensions disableDelayedExpansion (call;) %= sets errorlevel to 0 =% set ^"toggled=AaAaBbBbC...
- 03 Nov 2021 14:57
- Forum: DOS Batch Forum
- Topic: Foxidrive has left us
- Replies: 42
- Views: 183773
Re: Foxidrive has left us
Five years?
RIP, Foxi.
RIP, Foxi.
- 15 Nov 2020 13:14
- Forum: DOS Batch Forum
- Topic: Batchville: a new batch email discussion group
- Replies: 5
- Views: 6157
Re: Batchville: a new batch email discussion group
Hi Compo, You can subscribe to the group via the website. Go to the Batchville Home Page , and click on the Join This Group button. Enter your email address in the form, and click on the Confirm Email Address button. You will receive an email from Groups.io with a link in it. Click on the link so th...
- 08 Nov 2020 16:17
- Forum: DOS Batch Forum
- Topic: Batchville: a new batch email discussion group
- Replies: 5
- Views: 6157
Re: Batchville: a new batch email discussion group
Hi Jerry,
The new group is hosted on Groups.io, not Yahoo! To subscribe, send an email with a blank subject line to:
batchville+subscribe@groups.io
See you there!
- SB
The new group is hosted on Groups.io, not Yahoo! To subscribe, send an email with a blank subject line to:
batchville+subscribe@groups.io
See you there!
- SB
- 07 Nov 2020 17:58
- Forum: DOS Batch Forum
- Topic: Batchville: a new batch email discussion group
- Replies: 5
- Views: 6157
Batchville: a new batch email discussion group
Hello All, Icymi, Yahoo! Groups is shutting down on Dec 15th . When YG goes, Batch World will go with it. BW is over 20 years old and has 1500+ members. Foxidrive was a regular contributor. :( I think BW’s imminent demise is a shame because it’s the only email discussion group I know of devoted to B...
- 17 Aug 2020 08:24
- Forum: DOS Batch Forum
- Topic: store nth line of file in variable
- Replies: 11
- Views: 14347
Re: store nth line of file in variable
Hi Samir!
To paraphrase Robbie Robertson, this is sure stirring up some ghosts for me.
Two things spring to mind. What code are you using? And are the HTML files in Unicode format?
TIA!
- SB
To paraphrase Robbie Robertson, this is sure stirring up some ghosts for me.
Two things spring to mind. What code are you using? And are the HTML files in Unicode format?
TIA!
- SB
- 18 Jul 2020 05:31
- Forum: DOS Batch Forum
- Topic: <LF> is allowed in variable names
- Replies: 4
- Views: 4695
Re: <LF> is allowed in variable names
See also DT: Safely Expand Any Variable by Dave Benham.
- 26 May 2020 09:53
- Forum: DOS Batch Forum
- Topic: Source Code for GW-Basic Released
- Replies: 0
- Views: 17453
Source Code for GW-Basic Released
Hello All!
I thought you might be interested in this post on the Windows Command Line blog:
- SB
I thought you might be interested in this post on the Windows Command Line blog:
Happy coding!
- SB
- 08 Mar 2020 09:26
- Forum: DOS Batch Forum
- Topic: mshta command for copy into clipboard
- Replies: 10
- Views: 12217
Re: mshta command for copy into clipboard
Hello All! Slightly OT, perhaps, but here goes… Placing content on the clipboard is severely restricted for security reasons. But there are workarounds. This SO Answer by Srikanth P provides a JScript solution that makes expert use of the Internet Explorer object. HTH! :) - SB PS: Just spotted a typ...
- 07 Aug 2019 15:27
- Forum: DOS Batch Forum
- Topic: String manipulation - remove leading and trailing spaces
- Replies: 2
- Views: 8689
Re: String manipulation - remove leading and trailing spaces
Hi Eureka! Welcome to the forum! :) Dave Benham explored this approach in the novel method to right-trim spaces topic back in January, 2012. :shock: As pointed out at the time, the method had too many shortcomings to ever be a general-purpose solution, and development ceased. But trimming leading an...
- 21 Nov 2018 09:19
- Forum: DOS Batch Forum
- Topic: doskitXPserver2003
- Replies: 2
- Views: 5718
Re: doskit XP/server2003 TEASER
Hi Ed,
Doskit sounds amazing!
I’d love to try it out, but I’m running Windows 7.
What difficulty does Doskit have with Windows 7?
- SB
Doskit sounds amazing!
I’d love to try it out, but I’m running Windows 7.
What difficulty does Doskit have with Windows 7?
- SB
- 21 Nov 2018 09:12
- Forum: DOS Batch Forum
- Topic: Wildcard during directory lookup produces unexpected results
- Replies: 7
- Views: 8232
Re: Wildcard during directory lookup produces unexpected results
Hi Ed,
Is it a for /r bug? I remember reading somewhere that for /r can generate erroneous output under certain conditions. As usual, I can’t remember where I read it, sorry.
Maybe someone with a better memory (and a more organised bookmarks collection) can help you out.
Good luck!
- SB
Is it a for /r bug? I remember reading somewhere that for /r can generate erroneous output under certain conditions. As usual, I can’t remember where I read it, sorry.
Maybe someone with a better memory (and a more organised bookmarks collection) can help you out.
Good luck!
- SB