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, 11:20

> > rem FDauto.bat reduced down (no lfn etc stuff)
> > rem c:\freedos\bin\doslfn.com -c variant 22,719 bytes 04April
> > rem c:\freedos\bin\rdvx32.exe 3,841 bytes 28 March
>
> I don't have these in FDauto.bat, which is why they're in this batch. F:
> is the virtual CD (C, D & E are VM drives), so I simply assume G: is the
> RAM disk.
>
> > cd g:\xms_fat.32g
> > copy e:\trace203.com g:\trace.asm
>
> Do you want root (g:\) or XMS_FAT.32G (g:)?
>
> > EDIT - I just realized maybe I need double quotes (") around the
> > destination because of spaces in the destination filename
>
> Absolutely.



So I made a J1c.bat (shown below) and things are starting to appear to be WORKING CORRECTLY (I think). Interestingly, it appears that @echo OFF does not behave the way I thought it should - I ended up putting " > NUL" at the end of every copy line. The batch file is "messy", but I think I now have a "correct and accurate" batch file as a reference (helps to know how long things should actually take to do).


cls
rem J1c.bat running ... (2022 APR 11)
rem .
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

@ECHO OFF
C:\freedos\bin\rdrvx32 -u > NUL
C:\freedos\bin\rdrvx32 382M
rem del g:\*.*
rem del g:\xms_fat.32g\*.*
C:\freedos\bin\doslfn

copy e:\trace203.com g:\trace.asm > nul
copy e:\trace203.com g:\trace203.com > nul
copy e:\trace203.com "g:\trace202 (2).co)" > nul
copy e:\trace203.com "g:\trace202 (3).co)" > nul
copy e:\trace203.com "g:\trace202 (4).co)" > nul
copy e:\trace203.com "g:\trace202 (5).co)" > nul
copy e:\trace203.com "g:\trace202 (6).co)" > nul
copy e:\trace203.com "g:\trace202 (7).co)" > nul
copy e:\trace203.com "g:\trace202 (8).co)" > nul
copy e:\trace203.com "g:\trace202 (9).co)" > nul
copy e:\trace203.com "g:\trace202 (10).co)" > nul
copy e:\trace203.com "g:\trace202.co)" > nul
copy e:\trace203.com "g:\trace203 (2).asm" > nul
copy e:\trace203.com "g:\trace203 (2).com" > nul
copy c:\nulll.txt g:\z_0123456789ABCDEF > nul
copy c:\nulll.txt g:\z_XMSFAT.32G > nul

md g:\xms_fat.32g
cd g:\xms_fat.32g
copy g:\*.* g:\XMS_FAT.32g\ > nul
@echo ON

echo .
dir g:\ > NUL
echo .
dir G:\XMS_FAT.32g\ > NUL
echo .



[image]

[image]

[image]

 

Complete thread:

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