Search found 482 matches

by carlos
14 Mar 2019 11:37
Forum: DOS Batch Forum
Topic: win98cmd
Replies: 3
Views: 231

Re: win98cmd

Many thanks Phil.
Very nice cmd version.
This is an more earlier version than the called Win95cmd.

You know other rare cmd.exe versions?
by carlos
14 Mar 2019 09:51
Forum: DOS Batch Forum
Topic: win98cmd
Replies: 3
Views: 231

win98cmd

Hello. Someone have archived a old cmd called win98cmd.exe ?

I have a copy of win95cmd.exe and I'm wanting win98cmd.exe
by carlos
12 Mar 2019 04:56
Forum: DOS Batch Forum
Topic: UTF-8 bug
Replies: 19
Views: 888

Re: UTF-8 bug

Thanks aGerman. I'm currently working with Jason Hood on a new utility that include a feature for solve this bug.
The feature currently is done.
We are working on the other features and revisions before I publish this.
I hope publish the utility in two weeks.
by carlos
06 Mar 2019 15:28
Forum: DOS Batch Forum
Topic: UTF-8 bug
Replies: 19
Views: 888

Re: UTF-8 bug

I will try to fix it in a new coming soon new utility for batch that will improve it.
AGerman please can you help me? How can I determine if the input buffer used in MultibyteToWidechar have incomplete codepoints?
by carlos
06 Mar 2019 09:43
Forum: DOS Batch Forum
Topic: UTF-8 bug
Replies: 19
Views: 888

Re: UTF-8 bug

Also occurs on windows 7.
The solution would be remove the bom from the the utf-8 text when cmd call to MultiByteToWideChar ?
by carlos
20 Jan 2019 11:59
Forum: DOS Batch Forum
Topic: Directly reading from pipe by the parent CMD process
Replies: 19
Views: 1202

Re: Directly reading from pipe by the parent CMD process

Very interesting topic. Is there any other executable that we could use, that writes nothing, and that's lighter and faster than cmd.exe? I found doskey.exe (19 KB) print anything and is lightweight than cmd.exe (268 KB) Other option can be rundll32.exe (68 KB) this works okay. :CreatePipe doskey 1>...
by carlos
26 Dec 2018 20:09
Forum: DOS Batch Forum
Topic: Bget - A package Manager for Windows scripts.
Replies: 4
Views: 579

Re: Bget

Hello. This is interesting, because is like a package manager for batch, but like many package manager for other languages like php, node, ruby, the authors should publish it in a official site. The pastebin idea is also interesting. In the downloads methods is missed the certutil technique: https:/...
by carlos
26 Dec 2018 19:55
Forum: DOS Batch Forum
Topic: A new tool to save and restore the console font
Replies: 3
Views: 413

Re: A new tool to save and restore the console font

Hello jfl, nice tool. As said aGerman, support for old windows xp I see unnecesary. For change the font with undocumented functions the only font available is Terminal. On windows xp also exists a undocumented function for get the sizes of that font, but that undocumented function stopped working wi...
by carlos
26 Dec 2018 19:34
Forum: DOS Batch Forum
Topic: Color Function 21 22 23c
Replies: 37
Views: 17647

Re: Color Function 21 22 23c

Hello. @jeffshead: sorry for the late reply, your solution was right, because the \ character is used as the escape sequence character. @fred_gaou, I cannot remember what was the last version of out.exe, but I deprecated it because you can achieve the same functionality using my bg program v3.9se us...
by carlos
23 Oct 2018 20:37
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 2359

Re: bin2enc.cmd - Native .CAB & Self-Extracting Scripts

Hello @CirothUngol: I try process a single file: bin2enc.cmd image.png But it not works. I replaced this: SET count=0 IF NOT EXIST "%~1" GOTO :bin2enc_help FOR /F %%A IN ('DIR /S "%~f1" 2^>NUL ^| FIND /I "File(s)"') DO SET /A "count=%%A" 2>NUL IF %count% EQU 0 GOTO :bin2enc_help with: SET count=0 IF...
by carlos
13 Oct 2018 20:18
Forum: DOS Batch Forum
Topic: b2ev - Bat2Exe eVolved
Replies: 2
Views: 975

Re: b2ev - Bat2Exe eVolved

Many thanks for this tool. Converters of bat to exe that have the word "Compiler" seems not very reliable, because it not convert the batch script to machine language, it only extract the script to temporal folder and run. It always depends and needs cmd.exe Batch script always are interpreted. Cmd ...
by carlos
10 Oct 2018 06:50
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 2359

Re: MakeCab, CertUtil, & Expand... best file embedding?

@CirothUngol maybe you can add option CompressionMemory=21 to the LZX method, it can save more bytes. Maybe is possible dinamycally create two files, one using MSZIP and other using LZX and choose the one that produce less bytes. Or even if you provide old diamond.exe https://www.dostips.com/forum/v...
by carlos
04 Oct 2018 19:58
Forum: DOS Batch Forum
Topic: Reading Passwords Into a .cmd script
Replies: 1
Views: 691

Re: Reading Passwords Into a .cmd script

Can you try this, is only a idea that myabe can work:

Put on a single file the password in order of mapping:

pass.txt

Code: Select all

abcd
efgh
and process.cmd

Code: Select all

(
net use p: \\[some path] /user:[some domain]\[some ID]
net use q: \\[some path] /user:[some domain]\[some ID]
) < pass.txt
by carlos
30 Sep 2018 20:53
Forum: DOS Batch Forum
Topic: Mazing.cmd - A Visual Maze Generator for WinNT
Replies: 1
Views: 1041

Re: Mazing.cmd - A Visual Maze Generator for WinNT

@CirothUngol:
Is very interesting.
I need choose manually Terminal font for a good display of the characters.
by carlos
23 Sep 2018 16:22
Forum: DOS Batch Forum
Topic: Bodenstrich
Replies: 2
Views: 897

Re: Bodenstrich

Hello. You can also use the command:

Code: Select all

Bg cursor 0
from my bg utlity: bg39.zip available here: https://github.com/carlos-montiers/cons ... r/releases