leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
793 stars 81 forks source link

CD Command fails when a DOS program shells to COMMAND.COM #74

Closed pcmicro closed 4 years ago

pcmicro commented 4 years ago

Many DOS programs have an option to "Shell to DOS", or in the case of a BBS program it will allow users to shell to a door program from the main BBS. However under NTVDMx64 (February 1 2020 build), the shelled to Command.com (or batch file running under it), fails to allow the CD command to change the directory. This behavior was observed using several different DOS BBS programs, either to shell to a door, or to shell to a COMMAND.COM prompt.

leecher1337 commented 4 years ago

Please provide a demo application (when possible including source code) where the behaviour can be reproduced. Normal shell-out from DOS applications like i.e. MS WORKS 2.0 work flawlessly.

pcmicro commented 4 years ago

I have sent you an example.

ddscentral commented 4 years ago

Not sure if this is related, but I can't change the current directory in DOS applications directly either, for example the old Borland Pascal compiler.

pcmicro commented 4 years ago

I see the problem in both Turbo Pascal 7 (i.e. RemoteAccess), and Borland C++ 3.1 (i.e. ProBoard), so it could be specific to old Borland DOS compilers.

ddscentral commented 4 years ago

This isn't specific to Borland, "cd" doesn't work even when running command.com directly.

peter8777555 commented 4 years ago

I use build on 2019Y/09M/16D. No "CD" problem.

pcmicro commented 4 years ago

This isn't specific to Borland, "cd" doesn't work even when running command.com directly.

I am able to open Command.com from the start menu, and use CD to change the directory without issue. I only see the issue with CD not working if I run a DOS program that allows me to shell to Command.com. I am using the pre-compiled version from the University of Columbia site, which has binaries dated February 1 2020, but I do not know which build this actually is.

pcmicro commented 4 years ago

Peter8777555: Could you contact me regarding the build you mentioned? My address is mike@ [my username] .com

peter8777555 commented 4 years ago

To:pcmicro

I use build on 2019Y/09M/16D. No "CD" problem.

You need to build by youself. ntvdmx64-master.zip

ntvdmx64-master.zip

z1

z2

pcmicro commented 4 years ago

Thanks leecher1337 this bug is fixed so I will close this issue.