Search found 10 matches

by Hradschek
09 Apr 2016 08:17
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Re: Prevent CMD from flickering

No. :cry:
The flicker is stronger than before.
by Hradschek
09 Apr 2016 04:05
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Re: Prevent CMD from flickering

It is not necessary, but k.

set /a pc=0
set /a sc=0

set /p userinput=

THIS IS NOT THE PROBLEM. THE LOOP IS THE PROBLEM.
by Hradschek
09 Apr 2016 03:04
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Re: Prevent CMD from flickering

For example:



Code: Select all

:pSub1
cls
if %userinput%==p (
set /a pc=%pc%+1
set /a sc=%sc%-1
)
echo %pc%
echo %sc%
goto pSub1


If you hold ENTER pressed, this code is repeated.
by Hradschek
09 Apr 2016 00:12
Forum: DOS Batch Forum
Topic: Reduced-Flicker in dos batch. It's possible?
Replies: 40
Views: 121099

Re: Anti-Flicker in dos batch.

Thanks a lot!
by Hradschek
08 Apr 2016 02:01
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Re: Prevent CMD from flickering

Someone wrote this code, but it doesnt work in my code. @echo off & setlocal EnableDelayedExpansion rem tuning flickering rem use fonts 8x8 or Lucida Console 5 mode 120,80 set LF=^ rem above 2 blank lines necessary! set st0=°±²Û²±° set st=!st0!g!st0!o!st0!u!st0!z set st=!st!!st!!st!!st!!st! set ...
by Hradschek
07 Apr 2016 15:12
Forum: DOS Batch Forum
Topic: If not %version%==%keyversion% goto new
Replies: 8
Views: 6996

Re: If not %version%==%keyversion% goto new

@Sqaushman: maybe he has no code yet. Test this: if %version%==%keyversion% goto somewhere :somewhere rem Some code to execute here And if %version% LSS %keyversion% goto new :new rem code.... But you have to do: set /a savegameversion=1 set /a keyversion=2 That LSS will work correctly. I hope i was...
by Hradschek
07 Apr 2016 15:01
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Re: Prevent CMD from flickering

There is nothing wrong with my code, it is because of Windows. The auto-repeat with pressing ENTER or hold ENTER pressed causes this problem because i have a while loop that runs until the command is repeated 100 times (but only if you press ENTER or hold ENTER after typing a specific command). I kn...
by Hradschek
07 Apr 2016 03:18
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Re: Prevent CMD from flickering

Thank you. I'll test it today with PAUSE but i have another idea how to fix it.
by Hradschek
06 Apr 2016 07:19
Forum: DOS Batch Forum
Topic: Prevent CMD from flickering
Replies: 12
Views: 11397

Prevent CMD from flickering

How do I prevent the console window from flickering? After pressing [ENTER] the last command is repeated. This causes that the window is flickering. Do you guys know how to fix this?

Greetings

Abel Hradschek, Neu Lewin
by Hradschek
04 Apr 2016 13:44
Forum: DOS Batch Forum
Topic: Writing Date and Time to a log file
Replies: 3
Views: 3856

Re: Writing Date and Time to a log file

I agree with Squashman. There is no mistake in it.