Search found 177 matches

by Jer
24 Mar 2019 22:36
Forum: DOS Batch Forum
Topic: Title command to unclutter title bar question
Replies: 2
Views: 3420

Title command to unclutter title bar question

Title help says
TITLE [string]

string Specifies the title for the command prompt window.
Are there any secrets on how to keep the title bar clean?
Is this the best solution assigning character #255 as the string?

Code: Select all

Title ÿ
Thanks.
Jerry
by Jer
18 Dec 2018 00:07
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

I removed double quote character temporary substitution from my batch code and found that tests and my set of samples ran without error. Also, strings are now being passed to functions by reference. The CHCP font issue is no longer mysterious (i.e., not unique to my PC) as explained by Dave in post ...
by Jer
14 Nov 2018 18:32
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

About passing the variable name to a function and getting its value in the function, there it was in front of me in strLen function. Yes I am passing variable names to functions many times. It did not occur to me to use !%~1! inside a function, as strLen does. I will try it when I return and see if ...
by Jer
14 Nov 2018 10:55
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

I did not know about passing a variable name to a function. Thanks for that revelation. Sorry that I have not explained the final goal with a simple example. The final goal is to display bordered content, like in the images, with any characters and no crashes because of poison characters. The code r...
by Jer
13 Nov 2018 17:51
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

I appreciate your advice and examples of code that has no need of replacing special characters, including " and !. I've tried to revise code and remove replacement, but errors occur and passing strings with special characters to functions does not do what it is supposed to do. In the illustrative co...
by Jer
13 Nov 2018 01:44
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

Thanks Steffen for taking the time to look at this. Antonio asked for a simple example and your solution ran flawlessly for that scenario. In my bdrs (borders & boxes) script, strings of text from the command-line are converted to multi-line fields when delimited by a colon. The command-line entry {...
by Jer
12 Nov 2018 12:57
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

This batch code can show the double quote causing an error when it is not replaced by another character. @echo off setlocal rem test command-line arguments: x {a quote " and exclamation mark ! set "args=%*" If "%args%" equ "" echo no args entered & exit /b rem comment following line to demo code fai...
by Jer
10 Nov 2018 00:16
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

The scope of my project is within the PC environments I have, Windows 7, or Windows 10 where ansi sequence codes are inserted in text files for color. The font should be raster and code page is 437. The project is an experiment that some may find interesting to try out after browsing the samples. Th...
by Jer
08 Nov 2018 23:36
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

A 169kb zipped file brings up the "file too large" box. Same with 112kb zipped file. 99kb attached okay. The attached image file does not show well because it had to be reduced in size to pass what seems to be a 100kb limit. And here's a linked larger image file at tinypic dot com: update: The attac...
by Jer
04 Nov 2018 16:00
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

Copy the lines below to a text file, make a large cmd window and type out the file with the TYPE command. It is a sample page of the color viewing batch file from my previous post. I was not able to make the image insert happen; lack of forum skills, or too cheap to pay for a file storing service. F...
by Jer
03 Nov 2018 10:29
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

Below is an image from one tool in a set of tools in development. It is from a colors viewer with options to expand to larger samples, 2-color contrast samples, screen-size sample, and other options. You make note of the colors you want to use, and with another tool I'll call ansitool.bat, assign co...
by Jer
02 Nov 2018 14:15
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

Thanks for the CHCP info. It's good to know the CHCP command changing a raster font to non-raster is not unique to my PC configuration. I wanted to borrow a character from code page 65001 as a temporary replacement character for the double quote, but will not be doing that from what I've learned her...
by Jer
01 Nov 2018 00:01
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

I've given up on fixing my CHCP issue which, whenever I run the CHCP command, re-assigns the raster font 8x12 to a non-raster font, and only that font was an issue. I was using CHCP to access a character to use temporarily as a replacement for the double quote. I couldn't bring myself to setting my ...
by Jer
27 May 2018 11:11
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

I'll check this out on a Windows 10 forum. Typing chcp and any code page number, including 437, changes the font away from Raster 8x12. Changing the code page immediately again changes and appearance to a smaller font but a check of font properties shows it to be the same font size, 12pt. Strange :r...
by Jer
24 May 2018 00:24
Forum: DOS Batch Forum
Topic: Can I get access to an ascii character not in the standard set?
Replies: 38
Views: 32781

Re: Can I get access to an ascii character not in the standard set?

The issue of chcp 65001 changing a raster font to Courier New is back and will not go away after 2 days. When I open a cmd window with the raster font 8x12 and type chcp 65001 the font changes to Courier New 12pt. This does not happen with the other 9 raster font sizes. 8x12 happens to be the one I ...