The MASM Forum

General => The Campus => Topic started by: Dark_Mark on December 30, 2014, 07:58:13 PM

Title: MASM : fatal error A1000: cannot open file : C:\masm32\aaa.asm
Post by: Dark_Mark on December 30, 2014, 07:58:13 PM
Hi. Ive just installed the MASM32 SDK and tried to assemble & link a simple program and Im always having this error message.

" Assembling: C:\masm32\aaa.asm
MASM : fatal error A1000: cannot open file : C:\masm32\aaa.asm "

And here is a screenshot.

(http://i57.tinypic.com/2i2bdw6.png)

Ive seen some people having the same error in this forum. And Ive tried the solutions but I couldn't solve the problem. Besides they were installed the MASM32 in directories other than C:\
What's the wrong with this and how can I solve it ?

Im using windows 8.1 x64 and both windows and MASM32 are installed in C:\

Thanks.
Title: Re: MASM : fatal error A1000: cannot open file : C:\masm32\aaa.asm
Post by: dedndave on December 31, 2014, 01:07:59 AM
where is the aaa.asm file located ?

to save a step - show us the code
even though it isn't at fault, it will save us some typing - lol
Title: Re: MASM : fatal error A1000: cannot open file : C:\masm32\aaa.asm
Post by: jj2007 on December 31, 2014, 02:23:44 AM
"can't open" can mean "can't find" or "I'm blocked by something". As Dave wrote, check if the file exists, and if yes, try to find a reason why it cannot be opened. For example, using Microsoft Word for looking at your source is not a good idea, as it locks files.
Title: Re: MASM : fatal error A1000: cannot open file : C:\masm32\aaa.asm
Post by: anunitu on December 31, 2014, 02:49:53 AM
Not sure,but if you just up graded to 8.1(I just started using win7-64) you might be running into what I did at first...files blocked by the system. it took me a bit to figure out how to unset the block on files that came from outside(download) until I snooped a bit in the system.

as in "Files did not originate on this system" so blocked.
Title: Re: MASM : fatal error A1000: cannot open file : C:\masm32\aaa.asm
Post by: FORTRANS on December 31, 2014, 03:24:57 AM
Hi,

   You can open a command prompt session, then

CD \

to get to the root directory, then

DIR aaa.asm /S /P

to see if your source is in C:\MASM32 or someplace else.

HTH,

Steve