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 bencollver Homepage, 23.08.2024, 19:53

> 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.

Thanks for your analysis!

I installed 4dos 8.00 on FreeDOS 1.3. Now when i run your test2w.exe example, it gives the expected argc=3.

 

Complete thread:

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