tsc2597@acf4.UUCP (Sam Chin) (03/21/85)
<<<>>> The documentation for MS-DOS 2.0 indicates that one can change the file that DOS uses when it has to replace the command interpreter (COMMAND.COM) if the interpreter has been overlayed by a previous program. I need to do this because my current COMSPEC environment variable points to "\COMMAND.COM" and when I run a program on my ram disk that overlays the command interpreter, on exit I am unable to insert a disk with the command interpreter into the ram disk since it it non ejectable. I could put COMMAND.COM on the ram disk but that seems like a waste of space. I would assume that : SET COMSPEC=A:\COMMAND.COM should work but it doesn't (although it does update the environment space). Does anyone have a solution to this? I tried a program called COMSPEC.COM from dec-marlboro which is claimed to work for the rainbow but it doesn't on my generic MS-DOS system. It seems that there are two COMSPEC locations and when you use the SET command, it only updates one of them. Microsoft is supposedly on the net, perhaps they can explain this poorly documented feature. Sam Chin UUCP: allegra!cmcl2!acf4!tsc2597 ARPAnet: tsc2597.acf4@nyu