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 Richard, 11.04.2022, 07:58
(edited by Richard on 11.04.2022, 08:09)

> > So the duration is ~5 seconds (not 15 seconds - typo maybe?)
>
> That's still about 4.9 seconds longer than it should be. I tried all those
> trace names in a 382MiB RAM drive with DOSLFN and that was instant (under
> VirtualBox). This is the batch file I used (DOSLFN is the -c variant; TRACE
> is 2.03).
>
>
> @echo off
> f:rdrvx32 382
> md g:\xms_fat.32g
> cd g:\xms_fat.32g
> f:doslfn
> copy f:trace.com g:trace.asm
> copy f:trace.com g:trace.com
> copy f:trace.com "g:trace202 (2).co)"
> copy f:trace.com "g:trace202 (3).co)"
> copy f:trace.com "g:trace202 (4).co)"
> copy f:trace.com "g:trace202 (5).co)"
> copy f:trace.com "g:trace202 (6).co)"
> copy f:trace.com "g:trace202 (7).co)"
> copy f:trace.com "g:trace202 (8).co)"
> copy f:trace.com "g:trace202 (9).co)"
> copy f:trace.com "g:trace202 (10).co)"
> copy f:trace.com "g:trace202.co)"
> copy f:trace.com "g:trace203 (2).asm"
> copy f:trace.com "g:trace203 (2).com"
> copy nul g:z_0123456789ABCDEF
> copy nul g:z_XMSFAT.32G
>






Help please.



I had issues with your batch file in FREEDOS RC5. So, probably for the wrong reasons, I modified it (but with the general theme in mind).


Below is the J1a.bat file I tried to run


cls
rem J1a.bat running ... (2022 APR 11)
rem .
rem FDauto.bat reduced down (no lfn etc stuff)
rem c:\freedos\bin\HimemSX.exe 6,653 bytes 4th April
rem c:\freedos\bin\doslfn.com -c variant 22,719 bytes 04April
rem c:\freedos\bin\rdvx32.exe 3,841 bytes 28 March
rem e:\trace.com 5,679 bytes (trace203.com) 2nd April
rem f:\ reserved for DVD player
rem .

@echo off
C:\freedos\bin\rdrvx32 382
md g:\xms_fat.32g
cd g:\xms_fat.32g
C:\freedos\bin\doslfn
copy e:\trace203.com g:\trace.asm
copy e:\trace203.com g:\trace203.com
copy e:\trace203.com g:\trace202 (2).co)"
copy e:\trace203.com g:\trace202 (3).co)"
copy e:\trace203.com g:\trace202 (4).co)"
copy e:\trace203.com g:\trace202 (5).co)"
copy e:\trace203.com g:\trace202 (6).co)"
copy e:\trace203.com g:\trace202 (7).co)"
copy e:\trace203.com g:\trace202 (8).co)"
copy e:\trace203.com g:\trace202 (9).co)"
copy e:\trace203.com g:\trace202 (10).co)"
copy e:\trace203.com g:\trace202.co)"
copy e:\trace203.com g:\trace203 (2).asm"
copy e:\trace203.com g:\trace203 (2).com"
copy c:\nulll.txt g:\z_0123456789ABCDEF
copy c:\nulll.txt g:\z_XMSFAT.32G
@echo ON




and the output in time sequence as follows:-

[image]

[image]

[image]






EDIT - I just realized maybe I need double quotes (") around the destination because of spaces in the destination filename

 

Complete thread:

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