Search found 7 matches

by Aspidiske
02 Sep 2017 17:47
Forum: DOS Batch Forum
Topic: Box-drawing characters in batch files...?
Replies: 25
Views: 48847

Re: Box-drawing characters in batch files...?

Some notes 1) You don't reset the registry updates which leads to permanent changes of the console settings. 2) The code doesn't display what it should because you don't use the right characters in the combinated single/double frames. (Compare it with my screenshot below, created with the code I pr...
by Aspidiske
02 Sep 2017 15:54
Forum: DOS Batch Forum
Topic: Box-drawing characters in batch files...?
Replies: 25
Views: 48847

Re: Box-drawing characters in batch files...?

I made a script to change the font, it works here, it makes the change through the registry, I tested on windows 7 and 10 using chcp 865 my doubt is if it works in other languages File name: Test.bat echo off color f reg Query HKCU\Console\%%SystemRoot%%_system32_cmd.exe /v FaceName>>temp.dat for /f...
by Aspidiske
03 Feb 2017 16:35
Forum: DOS Batch Forum
Topic: How do I excecute a batch file without call?
Replies: 6
Views: 5629

Re: How do I excecute a batch file without call?

I do not know what you have in mind, but I already used script to simulate a command line, you can create the commands but you never leave the script :start @set line= @cd @set /p line= @if "%line%"=="mycommand" goto mycommand %line% @goto start :mycommand @echo.mycommand ok @got...
by Aspidiske
14 Jan 2017 08:25
Forum: DOS Batch Forum
Topic: Goto %loop%
Replies: 7
Views: 6864

Re: Goto %loop%

goto as variable already used as following: This allows you to invert the sequence between programming sets @echo off set exitprogram1=program3 set exitprogram3=program2 set exitprogram2=completed goto program1 rem -------------------------------1 :program1 echo.1 goto %exitprogram1% rem -----------...
by Aspidiske
07 Jan 2017 14:32
Forum: DOS Batch Forum
Topic: Graphic interface in Batch ? Is it possible ?
Replies: 3
Views: 5567

Re: Graphic interface in Batch ? Is it possible ?

More specifically this is art ansi, until windows 98 support art ansi was loaded in the config.sys file, writing the following line: devicehigh=ansi.sys For windows 2000 onwards there is currently ansicon.exe m When installed ansicon you can read an ansi file with the following command: Type art.ans...
by Aspidiske
16 Dec 2016 06:49
Forum: DOS Batch Forum
Topic: Strip first 3 characters and replace the last?
Replies: 2
Views: 3374

Re: Strip first 3 characters and replace the last?

Yes

set mainpath=%mainpath:~3,-1%/
by Aspidiske
30 Oct 2016 10:35
Forum: DOS Batch Forum
Topic: Generator ASCII code
Replies: 0
Views: 7300

Generator ASCII code

Post here a tool to help in the batch scripts finish The main function is to generate ASCII box used in menu, there are other functions also. https://lh5.googleusercontent.com/-UyiZu9X1quI/U8oytaoYbMI/AAAAAAAAAbc/Lf-3vEnTuGM/w640-h400-no/dosbox_000.png Who has interrese a look at youtube channel: m ...