Search found 397 matches

by miskox
25 Jan 2021 02:02
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 161
Views: 75747

Re: Creating a script to gather PC information - to assist those asking for help

Would it be useful to display the following info:
- windows language
- keyboard language settings

I mean: I have English Windows but I use Slovenian keyboard layout. Maybe this information might be useful.

Saso
by miskox
23 Jan 2021 15:18
Forum: DOS Batch Forum
Topic: vbs http download slow
Replies: 4
Views: 1347

Re: vbs http download slow

Thank you Steffen!

As you probably noticed: I have no experience with .vbs. Your solution is perfect - download is as fast as possible.

Thank you again.
Saso
by miskox
23 Jan 2021 14:38
Forum: DOS Batch Forum
Topic: vbs http download slow
Replies: 4
Views: 1347

Re: vbs http download slow

Please do try to find it. Any other solutions would be great (I would really prefer to be backward compatible to XP).

Thanks.
Saso
by miskox
23 Jan 2021 14:23
Forum: DOS Batch Forum
Topic: vbs http download slow
Replies: 4
Views: 1347

vbs http download slow

I found this HTTP download .vbs script at www.robvanderwoude.com. main.cmd @cscript /NOLOGO /E:VBS HTTPdownload.vbs "http://www.kockarna.si/slike.zip" "." HTTPdownload.vbs (I added the first IF statement - maybe it should be improved (I have no experience with .vbs)) . if WScript.Arguments.Count <> ...
by miskox
17 Nov 2020 07:57
Forum: DOS Batch Forum
Topic: ANSI Escape Code does not works with (start) command
Replies: 5
Views: 2346

Re: ANSI Escape Code does not works with (start) command

it doesn't work for me.

Windows 10, 64-bit, version 1903, build 18362.1139

Looks like build .657 solved the problem.

Saso
by miskox
11 Nov 2020 07:09
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 42532

Re: CmdBkg - use bitmap as background to console window

I really miss that I don't *speak* 'C' something.... Never had a chance to learn it (I used to program in Cobol, Visual Basic, DCL, lately PureBasic and some in disassembler (Z80 and SC61860)). Now I am too old I guess (some might say 'you are never too old').

Saso
by miskox
02 Nov 2020 02:32
Forum: DOS Batch Forum
Topic: Some holiday animations (from Vt100.net)
Replies: 6
Views: 2567

Re: Some holiday animations (from Vt100.net)

@penpen: thanks. This works very well. Though I see some 'undefined' characters on my Win10.

Yes, original DEC Video Terminals were not that fast.

Saso
by miskox
01 Nov 2020 05:40
Forum: DOS Batch Forum
Topic: Some holiday animations (from Vt100.net)
Replies: 6
Views: 2567

Some holiday animations (from Vt100.net)

Here https://www.vt100.net/dec/animation/ you can see some .txt files that you can
type *.txt
and see some animation. Some might work some will not display correctly (they are for original DEC Video Terminals).

All .txt files are included in the .zip.
xmas.zip
(18.53 KiB) Downloaded 124 times
Saso
by miskox
23 Oct 2020 06:15
Forum: DOS Batch Forum
Topic: Replacing "" by " in every line of a text file
Replies: 6
Views: 2744

Re: Replacing "" by " in every line of a text file

This seems to work:

Code: Select all

@echo off
set var=""test"

set new_var=%var:""="%

echo _%var%_
echo _%new_var%_
Result:

Code: Select all

_""test"_
_"test"_
Saso
by miskox
16 Oct 2020 05:53
Forum: DOS Batch Forum
Topic: Vt escape codes and cursor hide / show
Replies: 10
Views: 3155

Re: Vt escape codes and cursor hide / show

There is a post that cursor positiooning is not working.

Saso
by miskox
16 Oct 2020 04:30
Forum: DOS Batch Forum
Topic: Vt escape codes and cursor hide / show
Replies: 10
Views: 3155

Re: Vt escape codes and cursor hide / show

What I remember from using DEC Video Terminals (VT 420 and VT 520): Correct sequence is: CSI Pl ; Pc H CSI = ESC + [ So you should set ESC to 27decimal echo %esc%[4;2HThis is test. to set cursor position. This should work. EDIT: this works for me: (instead of X I patched it with 0x1B) - you could us...
by miskox
14 Sep 2020 04:47
Forum: DOS Batch Forum
Topic: command retunrs no value even though entry exists
Replies: 16
Views: 6219

Re: command retunrs no value even though entry exists

It would be great to see binary compare. Probably your string 'Runescape' had an extra space or somethig.

Saso
by miskox
11 Sep 2020 05:27
Forum: DOS Batch Forum
Topic: command retunrs no value even though entry exists
Replies: 16
Views: 6219

Re: command retunrs no value even though entry exists

Would it be possible if there is no CRLF at the end (after the last line) that it would fail (I tested it and it works even without CRLF at the end.).?

Saso
by miskox
07 Sep 2020 07:17
Forum: DOS Batch Forum
Topic: LABEL Being Processed without GOTO or CALL
Replies: 13
Views: 4923

Re: LABEL Being Processed without GOTO or CALL

@CJM: good idea. Thanks!

Saso
by miskox
17 Aug 2020 09:17
Forum: DOS Batch Forum
Topic: Memory leak when reading large text files
Replies: 19
Views: 6226

Re: Memory leak when reading large text files

Any news on this. I am really curious what is causing this memory leak. I would assume if this is a system process (that allocates nonpaged pool) it would free it when this allocation is not needed anymore. Did you test your program with some SLEEP in in it (so the number of processes created is dur...