dosemu2 / comcom64

64bit command.com
https://github.com/dosemu2/comcom32/
GNU General Public License v3.0
32 stars 5 forks source link

CD changes drive #74

Closed stsp closed 8 months ago

stsp commented 1 year ago

cd g:\some will change drive to G and dir to some. This is not correct. It should only change the dir associated with drive G. And only as soon as you later type G:, you should get into g:\some.

comcom32 only calls chdir(). I think djgpp's chdir also changes drive, while we only need to update CDS of a particular drive.