Search found 503 matches

by carlos
21 Nov 2020 15:06
Forum: DOS Batch Forum
Topic: BHX 5.6 now with great encoding
Replies: 7
Views: 14113

Re: BHX 5.6 now with great encoding

> Is it possible to extract binaries directly to specific directory? There is no such option in documentation.

There not exist that option, but you can try using pushd and popd between the call to rebuild like this:

Code: Select all

Pushd "some_directory"
Call :Rebuild "file.ext"
Popd
[code]
by carlos
21 Nov 2020 15:00
Forum: DOS Batch Forum
Topic: BHX 5.6 now with great encoding
Replies: 7
Views: 14113

BHX 6.0

Utilizing BHX 5.6 for some time, but now I add move command just behind the 'call :rebuild' to move rebuilded binary into the %temp% path, but Microsoft defender stopping action reporting "Trojan:Script/Wacatac.B!ml". Is it possible to extract binaries directly to specific directory? There is no su...
by carlos
22 Mar 2020 10:00
Forum: DOS Batch Forum
Topic: Make cmd.exe parse piped batch code
Replies: 2
Views: 6016

Re: Make cmd.exe parse piped batch code

Hello. Cmd.exe run code in two modes: - interactive - script some differences between them: interactive not support goto labels and for variables use a single percent character (%) %a vs %%a. Thus you can run some code as pipe to cmd.exe but with limitations, not code expected to run in batch mode, ...
by carlos
21 Mar 2020 20:32
Forum: DOS Batch Forum
Topic: Win10: Move cursor position to 0,0
Replies: 4
Views: 8414

Re: Win10: Move cursor position to 0,0

Hello WiVi71

What about move the cursor to position 0,0 using windows 10 escape sequences. I think is more easy and clear code:

Code: Select all

@ECHO OFF

ECHO LINE 1

FOR /F %%E IN (
'"PROMPT $E &FOR %%_ IN (_) DO REM CURSOR 0 BY @CARLOS"'
) DO <NUL SET /P "=%%E[1;1H"

ECHO LINE 2

PAUSE

by carlos
29 Dec 2019 17:44
Forum: DOS Batch Forum
Topic: Enhanced Batch
Replies: 4
Views: 11723

Re: Enhanced Batch

Interesting project. I've had a brief moment to try this out - I see some very nice features 8) I'm looking forward to the full release with documentation :!: thanks Dave. Minutes ago I updated the documentation in the site related to: - For /f features: option "line" - For shortcuts to For infinit...
by carlos
28 Dec 2019 10:30
Forum: DOS Batch Forum
Topic: measrue elapsed time
Replies: 4
Views: 7628

Re: measrue elapsed time

Hello, have you tried Enhanced Batch? You can measure the time using the extension @timer, as in this example: @Echo off Rundll32 "%~dp0enhancedbatch_%processor_architecture%" load If Not Defined @enhancedbatch ( Echo Load Failed Goto :Eof ) set @delayedexpansion=1 set @echooptions=0 call @timer sta...
by carlos
26 Dec 2019 15:08
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 134
Views: 251327

Re: CONVERTCP.exe - Convert text from one code page to another

Wow, really nice work Steffen.
Thanks for the update, now it a very strong software.
by carlos
26 Dec 2019 11:11
Forum: DOS Batch Forum
Topic: Heads-up: Cmd window now auto-refreshing after every command(?)
Replies: 5
Views: 8167

Re: Heads-up: Cmd window now auto-refreshing after every command(?)

Hello, using Enhanced Batch @image inside a batch script not erase the image while the batch script is running.
by carlos
24 Dec 2019 13:31
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 134
Views: 251327

Re: CONVERTCP.exe - Convert text from one code page to another

Maybe specific code should run only on xp thus the performance to the others platforms will be not affected
by carlos
24 Dec 2019 12:05
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 134
Views: 251327

Re: CONVERTCP.exe - Convert text from one code page to another

Thanks Steffen for the explanation. I never be hear about CESU-8. It would be nice convertcp have code for prevent this bug ocurrs, else I think should be appear in the documentation that utf-8 conversion should not 100% reliable in xp., thus the supported for xp is not real. Really support for xp w...
by carlos
24 Dec 2019 09:54
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 134
Views: 251327

Re: CONVERTCP.exe - Convert text from one code page to another

Convertcp support for xp should be affected for this next (appeared in the documentation of the MultiByteToWideChar function) ? Starting with Windows Vista, this function fully conforms with the Unicode 4.1 specification for UTF-8 and UTF-16. The function used on earlier operating systems encodes or...
by carlos
24 Dec 2019 06:41
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 134
Views: 251327

Re: CONVERTCP.exe - Convert text from one code page to another

Hello Steffen. Nice tool, I always update my archive with the last version, but maybe you can control the source code version in github or gitlab? Is nice see the history for see what lines you changes for the update, and more easy for me for update simply pulling the last changes. Also about xp, is...
by carlos
22 Dec 2019 21:38
Forum: DOS Batch Forum
Topic: Enhanced Batch
Replies: 4
Views: 11723

Enhanced Batch

Hello. I was waiting to publish this later, but I think is better do it now. Is for present to all the users of this forum the project "Enhanced Batch" (abbreviated in this post as EB), developed with my friend Jason Hood. Is a tool wich purpose is "Improve the functionality of your classic Windows ...
by carlos
22 Dec 2019 10:33
Forum: DOS Batch Forum
Topic: DrawTXT.exe graphic animations to run on console and create your 2D games
Replies: 14
Views: 32642

Re: DrawTXT.exe graphic animations to run on console and create your 2D games

Hello @DQ2000, I found this is a nice project related to the goal of write small games using batch. You use an easy of undertand encoding of the image to character, one color character for be used with a "block character". But if you not use a font of 1x1 is possible use a combination of other chara...
by carlos
04 Sep 2019 07:14
Forum: DOS Batch Forum
Topic: Looking for a specific book
Replies: 16
Views: 24133

Re: Looking for a specific book

maybe this:

Code: Select all

https://www.amazon.com/Ultimate-Batch-File-Book-Rom/dp/0079120504
from 1995