PRB: Cannot Execute DOSXNT.EXE -- Permission Denied

ID: Q125780

1.00 1.50 1.51 WINDOWS kbtool kbprb

The information in this article applies to:

SYMPTOMS

When building an application using NMAKE under MS-DOS without having Windows loaded, you may receive this error:

   Cannot execute DOSXNT.EXE -- Permission denied

This may occur when SHARE.EXE is loaded, and you use MORE.COM to pipe the output of the compiler in the makefile.

CAUSE

The error occurs because the swap file for DOSXNT is locked. When MORE spawns another process, DOSXNT cannot access that file. The problem is in the Phar Lap DOS extender supplied with Visual C++ versions 1.0 and 1.5x.

RESOLUTION

To work around this problem:

STATUS

This behavior is by design.

Additional reference words: 8.00 8.00c 1.30 1.40 1.00 1.50 1.51 KBCategory: kbtool kbprb KBSubCategory: DOSXNTIss

Keywords          : kb16bitonly 
Version           : 1.00 1.50 1.51
Platform          : WINDOWS

Last Reviewed: July 23, 1997