Search found 771 matches

by einstein1969
08 Sep 2017 10:02
Forum: DOS Batch Forum
Topic: Display .PPM files in RGB colors - WIN 10 ONLY
Replies: 4
Views: 1499

Re: Display .PPM files in RGB colors - WIN 10 ONLY

Hi IcarusLives!

I not have windows 10 but this is very great. 8)

einstein1969
by einstein1969
07 Jul 2017 11:32
Forum: DOS Batch Forum
Topic: Original batch file cmd window to other window jump
Replies: 7
Views: 2153

Re: Original batch file cmd window to other window jump

@Dave for my experiment I have used a jscript implementation of tail -f. tail-f.cmd @if(0)==(0) ECHO OFF CScript.exe //NoLogo //E:JScript "%~f0" %1 GOTO :EOF @end var StdIn=new ActiveXObject('Scripting.FileSystemObject').OpenTextFile(WScript.Arguments.Item(0)); while(true) if(StdIn.AtEndOf...
by einstein1969
06 Jul 2017 17:36
Forum: DOS Batch Forum
Topic: Original batch file cmd window to other window jump
Replies: 7
Views: 2153

Re: Original batch file cmd window to other window jump

this is an approch: Open two command prompts in the same current directory, On the server side, Call >0 Tail-f 0 | cmd 1>1 2>2 On the client side, Start /b tail-f 1 Start /b tail-f 2 Copy /y con 0 When you enter a command here, it is executed on the server side and the result is displayed on the cli...
by einstein1969
06 Jul 2017 12:53
Forum: DOS Batch Forum
Topic: Question for FOR /F.
Replies: 3
Views: 1242

Re: Question for FOR /F.

thanks Dave!
by einstein1969
06 Jul 2017 10:52
Forum: DOS Batch Forum
Topic: Question for FOR /F.
Replies: 3
Views: 1242

Question for FOR /F.

why this not work how expected?

Code: Select all

@echo off
FOR /F "usebackq delims=;" %%1 IN ('aa; bb; c c') DO ECHO %%1


result

Code: Select all

aa bb c c


Einstein1969
by einstein1969
06 Jul 2017 10:34
Forum: DOS Batch Forum
Topic: Color Macro
Replies: 4
Views: 1398

Re: Color Macro

hi IcarusLives,

very good work. 8)

I not known if possible make it faster. I thinks that is the maximum level of speed.

einstein1969
by einstein1969
18 Jun 2017 16:30
Forum: DOS Batch Forum
Topic: Delete 2nd line of text files
Replies: 7
Views: 3510

Re: Delete 2nd line of text files

this skip line 2 of file test.txt and create test2.txt without 2nd line. need line size <=8190 byte @echo off setlocal disableDelayedexpansion >test2.txt ( break | for /F "tokens=*" %%F in (test.txt) do @( echo %%F exit /b ) for /F "skip=2 tokens=*" %%F in (test.txt) do echo %%F ...
by einstein1969
18 Jun 2017 13:48
Forum: DOS Batch Forum
Topic: Delete 2nd line of text files
Replies: 7
Views: 3510

Re: Delete 2nd line of text files

This (slice.cmd) may help you.

einstein1969
by einstein1969
27 May 2017 10:40
Forum: DOS Batch Forum
Topic: Move cursor to *any position* using just ECHO command
Replies: 10
Views: 13034

Re: Move cursor to *any position* using just ECHO command

Good explain Antonio,

It's possible create a generic "goto 0,0"/HOME function? How?

Einstein1969
by einstein1969
24 May 2017 09:16
Forum: DOS Batch Forum
Topic: Reduced-Flicker in dos batch. It's possible?
Replies: 29
Views: 9863

Re: Reduced-Flicker in dos batch. It possible?

@Antonio.
I have changed the title of the thread and have added your comment at first page. Thanks.
by einstein1969
24 May 2017 09:06
Forum: DOS Batch Forum
Topic: Reduced-Flicker in dos batch. It's possible?
Replies: 29
Views: 9863

Re: Anti-Flicker in dos batch.

@penpen on the previous condition , can you try this tools m that show the system timer? on my system is the default of 15,6ms. C:\Users\ACER\Desktop\tools>clockres Clockres v2.1 - Clock resolution display utility Copyright (C) 2016 Mark Russinovich Sysinternals Maximum timer interval: 15.600 ms Min...
by einstein1969
23 May 2017 08:05
Forum: DOS Batch Forum
Topic: MarioRun - 2d scrolling game with parallax background
Replies: 16
Views: 4781

Re: MarioRun - 2d scrolling game with parallax background

I confirm about 38-40 FPS on my machine. NOT BAD!
by einstein1969
23 May 2017 07:47
Forum: DOS Batch Forum
Topic: Reduced-Flicker in dos batch. It's possible?
Replies: 29
Views: 9863

Re: Anti-Flicker in dos batch.

The "start" command can use the /AFFINITY switch for assign to a specified core/node. I can't test this on my monocore machine, but I think that is possible switch core with a key pressed.
by einstein1969
20 May 2017 13:49
Forum: DOS Batch Forum
Topic: Reduced-Flicker in dos batch. It's possible?
Replies: 29
Views: 9863

Re: Anti-Flicker in dos batch.

OK. The flicker on Antonio's machine is high :(

Peraph i'm on monocore machine ? on monocore machine the timer colescing work well ?

Antonio, can you try even the script that use the CLS+SET for draw? (It's the fastest method to draw on screen)

For better result use the native screen resolution.