Steffen: you were correct: I changed the font and now it is ok.
Saso
Search found 656 matches
- 09 Feb 2017 06:43
- Forum: DOS Batch Forum
- Topic: Box-drawing characters in batch files...?
- Replies: 25
- Views: 60150
- 07 Feb 2017 13:47
- Forum: DOS Batch Forum
- Topic: Box-drawing characters in batch files...?
- Replies: 25
- Views: 60150
Re: Box-drawing characters in batch files...?
Steffen: your example is displayed like this.

(I added CHCP command to show current CP)
Saso

(I added CHCP command to show current CP)
Saso
- 07 Feb 2017 13:43
- Forum: DOS Batch Forum
- Topic: Box-drawing characters in batch files...?
- Replies: 25
- Views: 60150
Re: Box-drawing characters in batch files...?
Thank you Steffen for such a great explanation on Code Pages! Your idea for displaying these characters under different Code Pages is great. (but your example does not work for me). Currently (because my .cmd is in use only by me) I am using this: I have this in an ANSI .txt file: 218 196 194 196 19...
- 26 Jan 2017 11:33
- Forum: DOS Batch Forum
- Topic: CONVERTCP.exe - Convert text from one code page to another
- Replies: 134
- Views: 289293
Re: CONVERTCP.exe - Convert text from one code page to another
Thanks for the update.
Saso
Saso
- 09 Dec 2016 01:44
- Forum: DOS Batch Forum
- Topic: CONVERTCP.exe - Convert text from one code page to another
- Replies: 134
- Views: 289293
Re: CONVERTCP.exe - Convert text from one code page to another
@aGerman: A translation from EBCDIC to ASCII was my initial thought that I had to use in the past. I did not check if current WinAPI can do this. So if this is not supperted by API then we can call it a 'custom' translation table. As I said: this was just an idea - the question is if it is really ne...
- 08 Dec 2016 08:18
- Forum: DOS Batch Forum
- Topic: CONVERTCP.exe - Convert text from one code page to another
- Replies: 134
- Views: 289293
Re: CONVERTCP.exe - Convert text from one code page to another
...Then I'll leave it as it is unless somebody finds a bug or has a request to add another feature ... Maybe just an idea (probably not neeeded at the moment): Add a support for custom code page(s). convertcp.exe my_private_CP1 my_private_CP2 <file_in.txt >file_out.txt and there you have a translat...
- 06 Dec 2016 03:19
- Forum: DOS Batch Forum
- Topic: CONVERTCP.exe - Convert text from one code page to another
- Replies: 134
- Views: 289293
Re: CONVERTCP.exe - Convert text from one code page to another
Thank you, Steffen! New release almost daily. Great!
Saso
Saso
- 25 Nov 2016 13:20
- Forum: DOS Batch Forum
- Topic: CONVERTCP.exe - Convert text from one code page to another
- Replies: 134
- Views: 289293
Re: CONVERTCP.exe - Convert text from one code page to another
Again I must say Thank you! to aGerman for providing this program. As he mentioned I had very old MS-DOS 16-bit exe which does not work on x64. I received a source code from the author (written in Turbo Pascal). aGerman said that it is easier to write a program from scratch then to try and relink it...
- 22 Nov 2016 13:54
- Forum: DOS Batch Forum
- Topic: Different behaviour of a command on XP and WIN10
- Replies: 5
- Views: 5011
Re: Different behaviour of a command on XP and WIN10
The standard answer whenever trying to work with "problem" characters - Use delayed expansion. Works in all situations except when expanding FOR loop variable that may contain ! setlocal enableDelayedExpansion >temporary.cmmnt echo(!cmmnt! endlocal Dave Benham Thank you. Problem solved. S...
- 22 Nov 2016 07:50
- Forum: DOS Batch Forum
- Topic: Different behaviour of a command on XP and WIN10
- Replies: 5
- Views: 5011
Re: Different behaviour of a command on XP and WIN10
What can I do?
I see that commands:
and
are causing me problems if cmmnt contains ( or ).
I will see if this viewtopic.php?f=3&t=4213 helps me.
Thanks.
Saso
I see that commands:
Code: Select all
echo(%cmmnt%>temporary.cmmnt
and
Code: Select all
>temporary.cmmnt (echo(%cmmnt%)
are causing me problems if cmmnt contains ( or ).
I will see if this viewtopic.php?f=3&t=4213 helps me.
Thanks.
Saso
- 22 Nov 2016 05:56
- Forum: DOS Batch Forum
- Topic: Different behaviour of a command on XP and WIN10
- Replies: 5
- Views: 5011
Different behaviour of a command on XP and WIN10
Hello all! @echo off set cmmnt= &rem ONE SPACE <nul set /p "=%cmmnt%" >temporary.cmmnt for %%q in (temporary.cmmnt) do (set /a strlen=%%~zq) echo strlen=%strlen%_ Executing this on XP gives result 1, executing this on WIN10 gives rezult 0. Any ideas why? Changing the code to: @echo off...
- 08 Nov 2016 13:44
- Forum: DOS Batch Forum
- Topic: EXIT and & operator
- Replies: 1
- Views: 2456
EXIT and & operator
Let's have two .cmd procedures: a.cmd: @echo off echo A exit And b.cmd: @echo off echo B Now execute a.cmd and then b.cmd: c:\a.cmd&b.cmd Result: CMD window closes. Now change a.cmd to this: @echo off echo A goto :EOF (goto :EOF above could of course be omitted in this case). Execute it: c:\a.cm...
- 08 Nov 2016 13:37
- Forum: DOS Batch Forum
- Topic: How to display OFF and/or ON?
- Replies: 7
- Views: 6698
How to display OFF and/or ON?
How to display (echo) words OFF and ON on the screen? Of course these don't work: @echo off echo off echo on Result: c:\f>echo_test.cmd c:\f> Maybe this one (because echo. is used to display empty line): @echo off echo.off Result: c:\f>echo_test.cmd off c:\f> Of course we can use echo(off Anyone kno...
- 08 Nov 2016 13:28
- Forum: DOS Batch Forum
- Topic: Apply For...do command ??
- Replies: 5
- Views: 5231
Re: Apply For...do command ??
Until someone provides a solution this is what you can do:
1. copy all files to USB stick
2. on USB stick: delete files you don't need
Saso
1. copy all files to USB stick
2. on USB stick: delete files you don't need
Saso
- 07 Nov 2016 12:27
- Forum: DOS Batch Forum
- Topic: Foxidrive has left us
- Replies: 44
- Views: 278362
Re: Foxidrive has left us
Sad day, really. He really helped us all.
Statistics don't lie:
This shows how great he was. I am sure he will be missed.
RIP
Saso
P.S. Anyone knows how old was he?
Statistics don't lie:
Code: Select all
Joined: 10 Feb 2012 10:20
Last active: 24 Oct 2016 01:00
Total posts: 6033
This shows how great he was. I am sure he will be missed.
RIP
Saso
P.S. Anyone knows how old was he?