Search found 177 matches
- 22 May 2018 13:44
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Re: Can I get access to an ascii character not in the standard set?
My Windows version: Microsoft Windows [Version 10.0.17134.48] Now it is the next day and I can't reproduce the problem. The only thing different yesterday was doing the Windows updates and I did a video capture (for the first time) with the Windows 10 XBOX app. I did another video capture today and ...
- 22 May 2018 01:33
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Re: Can I get access to an ascii character not in the standard set?
Capturing a character from another codepage is changing the font in the console window from a raster font to Courier New 12pt. It occurs after this line is executed: >nul chcp 65001 The width of the window is reduced when this happens, and it happens every time I run the code. I did Windows 10 (64bi...
- 02 May 2018 21:28
- Forum: DOS Batch Forum
- Topic: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
- Replies: 7
- Views: 8902
Re: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
My apology because I spoke too soon about ansicon, a third-party application to use ansi sequence codes in a batch script on a Windows 7 PC. When I tested it, I saw colors in the console window :oops: but there were only 16 colors, not the 256 colors displayed on my Win 10 64bit PC. The documentatio...
- 24 Apr 2018 10:08
- Forum: DOS Batch Forum
- Topic: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
- Replies: 7
- Views: 8902
Re: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
pjanov, I don't know if your reply was meant as a solution. I tried adding DEVICE=C:\WINDOWS\SYSTEM32\ANSI.SYS in the file config.nt and it did not resolve the issue on my Windows 7 laptop for displaying colors from ansi sequence codes, such as: @echo off For /F %%a In ('echo prompt $E^| cmd') Do Se...
- 22 Apr 2018 21:39
- Forum: DOS Batch Forum
- Topic: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
- Replies: 7
- Views: 8902
Re: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
Thank you all for the comments and suggestions. I installed ansicon on my Windows 7 laptop, and it allows me to get any of the 256 colors from batch scripts that assign ansi codes. This is a relief knowing that a "future" shared batch script would include a batch-only coloring add-on that would be u...
- 13 Apr 2018 12:00
- Forum: DOS Batch Forum
- Topic: ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
- Replies: 7
- Views: 8902
ANSI.SYS on Windows 7 PC Ineffective - Recommentation?
My 2 Windows 7 PCs have ANSI.SYS and I added DEVICE = C:\WINDOWS\SYSTEM32\ANSI.SYS to the config.sys file for both, re-booted, with no success in displaying color in the CMD console window. I suppose it is common knowledge that Windows 7 does not support ansi.sys, but my question (probably unanserab...
- 09 Feb 2018 01:22
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Re: Can I get access to an ascii character not in the standard set?
I spent over an hour browsing through the links, viewing the huge list of UTF-8 codes and characters, and I can't say all that reading did me any good. You gave me the solution when you identified the hex code for quarternote, E2,99,A9. Next in line is eighth note E2,99,AA. My text editor, KEDIT, al...
- 31 Jan 2018 14:31
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Re: Can I get access to an ascii character not in the standard set?
penpen wrote: You could access any unicode character using UTF-8 (codepage 65001) How is this done? I put your solution to work in temporarily replacing the double quote while the input string is being interpreted for text content and other coded instructions, and now would like to explore doing the...
- 18 Jan 2018 11:34
- Forum: DOS Batch Forum
- Topic: strLen script question
- Replies: 2
- Views: 2731
Re: strLen script question
Variable name is required by strLen--not the value.
I wish I had read the description
Thanks Steffen.
I wish I had read the description
Thanks Steffen.
- 18 Jan 2018 00:20
- Forum: DOS Batch Forum
- Topic: strLen script question
- Replies: 2
- Views: 2731
strLen script question
Thanks for your help with strLen. I get "0" length. After the line with set "str=A!%~1!" the value of !str! is A A look at %* in strLen shows: "test" len @echo off setlocal EnableDelayedExpansion call :strLen "test" len echo length is %len% endlocal & exit /b :strLen string len -- returns the length...
- 15 Jan 2018 11:48
- Forum: DOS Batch Forum
- Topic: Script for large integer and floating-point arithmetic and comparison using macros (updated to v1.1)
- Replies: 3
- Views: 3865
Re: Script for large integer and floating-point arithmetic and comparison using macros
For those of us who have no experience using macros, how would I do this from the command line?
I typed arithmetic init
then addi 2 2
or add 2 2
Neither were recognized as an internal command. When I type SET I see lots
of lines related to your arithmetic script.
Thanks.
I typed arithmetic init
then addi 2 2
or add 2 2
Neither were recognized as an internal command. When I type SET I see lots
of lines related to your arithmetic script.
Thanks.
- 21 Dec 2017 23:00
- Forum: DOS Batch Forum
- Topic: DOSTIPS.COM does not work on XP
- Replies: 15
- Views: 16836
Re: DOSTIPS.COM does not work on XP
DOSTIPS works fine on my old Pentium 4 PC with Windows XP Home SP3. Firefox 47.0.1 had no font issues when viewing DOSTIPS. After an upgrade to Firefox 52.5.2 ESR, viewing is still good. All fonts are clear. The desktop PC is dual-bootable, has 2 harddisks, one with Windows 7 and the other Windows X...
- 27 Oct 2017 21:57
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Re: Can I get access to an ascii character not in the standard set?
penpen & aGerman, you made my day. Thanks a million! One day my non-hybrid batch-zilla creation will be cleaned up and ready for sharing in zipped format with the forum. Jerry https://www.dropbox.com/s/yiwywbwrznq6s4h/image0004.jpg?dl=0 edit: I need instruction on how to embed an image. I have n...
- 27 Oct 2017 10:03
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Re: Can I get access to an ascii character not in the standard set?
Thanks penpen. The substitution works but I am having a problem restoring the " characters. @echo off setlocal enableExtensions enableDelayedExpansion ::ÿþ set "cp=" for /F "tokens=2 delims=:." %%a in ('chcp') do set "cp=%%~a" if not defined cp set "cp=850&quo...
- 27 Oct 2017 00:54
- Forum: DOS Batch Forum
- Topic: Can I get access to an ascii character not in the standard set?
- Replies: 38
- Views: 32310
Can I get access to an ascii character not in the standard set?
My project which involves a batch-only script and includes boxes, borders, text and any ascii character, except 7, 8, 9, 10, 13, 26 and 27, is doing well to a point, and now I need advice from the experts. One of the options is entering all codes and text content from the command-line. The other way...