Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

about to fix the "final" doslfn bug (Announce)

posted by jadoxa Homepage E-mail, Queensland, Australia, 12.04.2022, 10:34

> 9.bat I:\XMS_FAT16\ = XMS FAT16
>
> 12:28:45.90  C:\FREEDOS\BIN #echo .
> .
> 12:28:45.37  C:\FREEDOS\BIN #dir i:\XMS_FAT16.i\ > nul


What happened there? That makes me mistrust all the other times. I've updated RT, adding -w to write to stderr. That will let you redirect DIR to nul and still see the timing (use -2). E.g. here's a test I made to compare DIR against FOR:

C:\>lfntest.bat
C:\>lfnfor off
C:\>set dircmd=
C:\>rt -2 -w :dir fdos\bin\*.* > nul

Elapsed Time: 0.010 seconds (10 ticks).
C:\>rt -2 -w :for %j in (fdos\bin\*.*) do echo %j > nul

Elapsed Time: 0.014 seconds (14 ticks).
C:\>f:doslfn
DOSLFN 0.41f (haftmann#software & jmh 4/2022): loaded consuming 13920 bytes.
C:\>rt -2 -w :dir /lfn fdos\bin\*.* > nul

Elapsed Time: 0.083 seconds (85 ticks).
C:\>lfnfor on
C:\>rt -2 -w :for %j in (fdos\bin\*.*) do echo %j > nul

Elapsed Time: 0.016 seconds (16 ticks).
C:\>f:doslfn u
DOSLFN 0.41f (haftmann#software & jmh 4/2022): removed from memory.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 446 users online (0 registered, 446 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum