PRB: Error L1083 May be Caused By a Read-Only File

ID Number: Q79068

5.10 6.00 6.00a 6.00ax | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

SYMPTOMS

When using the Microsoft C Compiler version 5.1, 6.0, 6.0a, or

6.0ax, or the Microsoft QuickC Compiler version 2.5 or 2.51, the

following error may be generated:

L1083: Cannot Open Run File

CAUSE

The read-only attribute has been set on a project file. When a

project's .EXE file has its read-only attribute set, the linker

cannot update it; therefore, an L1083 error message is generated to

inform the user that the file could not be opened.

RESOLUTION

To turn off the read-only attribute of a file, use ATTRIB.EXE,

which comes with MS-DOS. The command should resemble the following

c:\dos\attrib.exe -r test.exe

where C:\DOS is the drive and directory where MS-DOS is installed

and TEST.EXE is the .EXE file with the read-only attribute set.

Additional reference words: 2.50 5.10 6.00 6.00a 6.00ax