Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

C's system() & COMMAND.COM (Developers)

posted by alexfru(R), USA, 17.09.2014, 13:08

> > > Internal commands are ALWAYS processed first, so even if you find a
> > valid
> > > COM/EXE/BAT/BTM with the appropriate name, it may not be what actually
> > gets
> > > processed.
> >
> > If I execute a .COM/.EXE directly (int 21h function 4b00h) and not via
> > "%COMSPEC% /C", it should just work, no matter what internal commands
> are.
>
> The point is that the person calling the shell might have wanted the
> internal command. You are basically changing priorities there.

IFF an internal command ends in .COM/.EXE, which is sick.

 

Complete thread:

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