Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Compiling Windows on DOS? (Developers)

posted by rr Homepage E-mail, Berlin, Germany, 12.02.2021, 12:14

> As everyone knows, Windows 2003's source codes have been leaked. And I
> downloaded them. By using some tools, I found that its compiler doesn't

Be aware: We don't support any illegal stuff here.

> import ntdll.dll. So, it's possible to compile Windows 2003 on Win9x, even
> on DOS by using HX. Then I started to try. But I encountered a problem.
> Many scripts for compilation use .cmd file extension and command.com
> doesn't recognize it as a batch file. Changing then to .bat extension one
> by one would be a disaster. (And you also have to replace .cmd in the
> scripts to .bat) So, my question is: How to let command.com run a .cmd
> file?

This is a valid question. So to give you an idea: Windows NT (or higher) .cmd files use a different/extended syntax. Just renaming everything to .cmd probably won't help very much. You need a new command.com to understand the different syntax or you have to remove/replace the extended syntax.

---
Forum admin

 

Complete thread:

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