Hello, Vitaly!
A few days ago, I got a Windows XP machine. Among the programs, there is a "C:\ Command Prompt". When I click on it, I get "Microsoft Windows XP [Version 5.1.2600], etc". After some searches, I found how to make a RAMdisk. So, I type "M:" and find myself on this "disk". (This way, all my work is automatically erased when I shut down, rather than keeping garbage on the hard disk.)
I suspect that your version of CBASIC Compiler is corrupt. The main CP/M Web site is "Gaby". Among all the stuff, there is a MS-DOS version of the CBASIC Compiler.
So, using my browser, I click on
http://www.cpm.z80.de/download/cb86toys.zip
which can be found in the "CP/M-86" paragraph of the "Digital Research Binary Files"
http://www.cpm.z80.de/binary.html
under the name "CP/M-86 programming languages and utilities"...
(Yes, this is an error: this ZIP file contains EXE files, not CMD files...)
So, I got several EXE files. I will now start them, using a non-existing filename, thus producing an error.
M:\rasm86 try
--------------------------------------------------
RASM-86 Relocating Assembler Version 1.3
Serial No. 3156-0000-000937 All Rights Reserved
Copyright (C) 1982-1984 Digital Research, Inc.
--------------------------------------------------
NO FILE: TRY.A86
(There is a later version available, 1.4a.)
m:\cb86 try
--------------------------------------------------
CB-86 CBASIC Compiler Version 2.1
Serial No. 3120-0000-002832 All rights reserved
Copyright (c) 1984 Digital Research, Inc.
--------------------------------------------------
could not open file: TRY
M:\link86 try
--------------------------------------------------
LINK-86 Linkage Editor Version 1.3
Serial No. 3120-0000-002832 All Rights Reserved
Copyright (C) 1982-1984 Digital Research, Inc.
--------------------------------------------------
NO FILE
FILE: TRY.OBJ
So, as you can see, all 3 EXE programs run without any problem in the "DOS Box" of Windows XP.
Now, let us see how you usually use CBASIC Compiler.
Because of all the options of both the compiler and the linker, I find it easier to put all the commands in a file (this is explained at lenght in the manual). Here is an example file:
RASM86 BDOS
CB86 DMA[BN]
LINK86 DMA,BDOS[S]
and here is what appears on the screen, when you type the name of the above BAT file:
M:\>RASM86 BDOS
--------------------------------------------------
RASM-86 Relocating Assembler Version 1.3
Serial No. 3156-0000-000937 All Rights Reserved
Copyright (C) 1982-1984 Digital Research, Inc.
--------------------------------------------------
END OF PASS 1
END OF PASS 2
CODE 0000A
END OF ASSEMBLY. NUMBER OF ERRORS: 0. USE FACTOR: 0%
M:\>CB86 DMA[BN]
--------------------------------------------------
CB-86 CBASIC Compiler Version 2.1
Serial No. 3120-3000-000061 All rights reserved
Copyright (c) 1984 Digital Research, Inc.
--------------------------------------------------
create error: DMA
M:\>LINK86 DMA,BDOS[S]
--------------------------------------------------
LINK-86 Linkage Editor Version 1.0
Serial No. 3120-0000-000262 All Rights Reserved
Copyright (C) 1982,1983 Digital Research, Inc.
--------------------------------------------------
CODE 03C19
DATA 008EA
USE FACTOR: 09%
M:\That's All, Folks!