Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

mawk 1.3.4 20240622 for DOS (Announce)

posted by Japheth Homepage, Germany (South), 23.08.2024, 19:22

> I tried your binaries in MS-DOS 7.1 and they gave the expected argc=3,
> where they gave argc=5 on FreeDOS 1.3 and MS-DOS 6.22.

Ok, got the same result with MS-DOS 6.22.

I guess the problem is related to long filenames. Open Watcom encloses the contents of the COMSPEC variable in double quotes, appends the cmd tail ( without quotes ) and finally calls CreateProcess() with this string. The HX emulation code more or less copies this string to the CMDLINE environment variable. MS-DOS 7.1 can handle this, but obviously MS-DOS 6.22 gets confused by the quotes.

---
MS-DOS forever!

 

Complete thread:

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