unable to initialize file

The machines we love to hate

Moderator: Wiz Feinberg

Mickey Lawson
Posts: 230
Joined: 23 Feb 2004 1:01 am
Location: Cleveland, Tennessee, USA

unable to initialize file

Post by Mickey Lawson »

I'm working with a DOS file [ASM} that I copied from CD to C: drive. The file "ASM" has subfile "NASMIDE", that has subfile eat2.asm. (C:\ASM\NASMIDE EAT2.ASM)
When I hit "enter", message says: A temporary file needed for initialization could not be created or could not be written to. Make sure that the directory path exists.
When I search C: for "ASM" it's found; with subfile "NASMIDE" and subfile "EAT2". So, aren't they initialized together?
How can I make sure the directory path exists? Thanks
User avatar
Jim Smith
Posts: 7949
Joined: 4 Aug 1998 11:00 pm
Location: Midlothian, TX, USA

Post by Jim Smith »

Sounds like it's trying to write the temporary file to the CD, which of course is not writable by DOS. Copy everything you need from the CD to a directory on your hard drive. CD to that directory and try again.
User avatar
Bobby Lee
Site Admin
Posts: 14863
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, California, USA

Post by Bobby Lee »

You might have better luck if you grabbed the latest NASM and NASM-IDE from the internet:
http://nasm.sourceforge.net
http://uk.geocities.com/rob_anderton/

<font size="1" color="#8e236b"><p align="center">[This message was edited by Bobby Lee on 31 July 2005 at 08:01 PM.]</p></FONT>
Mickey Lawson
Posts: 230
Joined: 23 Feb 2004 1:01 am
Location: Cleveland, Tennessee, USA

Post by Mickey Lawson »

Jim, I definitely have it on C: (several times). Bobby, I will download the new nasm.ide files,if I can get through the next 2-chapters of this book.
I HAVE FOUND THE PROBLEM, BUT DON'T KNOW HOW TO CHANGE IT:
1. the cursor at command prompt is; (C:\documents and settings\mickey lawson>)
and;
2. the cursor at command prompt should be; (c:\fordos\asm>)
[each is in the directory (#1 is first listed)--when I click on it, (C:\documents and settings\mickey lawson\asm>nasmide)it flashes onto the screen and immediately disappears) but;
when I click on (C:\fordos\asm\nasmide) [listing #2,it brings up nasmide perfectly]
I have never had a DOS cursor with a qualifier after the C:\ before -- how can I change the cursor to: C:\fordos\asm???? thanks for helping.
User avatar
Jim Smith
Posts: 7949
Joined: 4 Aug 1998 11:00 pm
Location: Midlothian, TX, USA

Post by Jim Smith »

<SMALL>how can I change the cursor to: C:\fordos\asm????</SMALL>
If your command prompt isn't C:\<something>, type "C:" (without the quotes) and hit Enter. Then at the command prompt, type "cd \fordos\asm" (without the quotes) and hit Enter. Image
Mickey Lawson
Posts: 230
Joined: 23 Feb 2004 1:01 am
Location: Cleveland, Tennessee, USA

Post by Mickey Lawson »

Many thanks Jim. It wouldn't accept the "C:". It lined down, and repeated the same address line. But, using your information, (after many trials) I tried: C:\Documents and Settings\Mickey Lawson>cd\fordos--and it returned
C:\fordos>
Success, thanks Jim.
User avatar
Bobby Lee
Site Admin
Posts: 14863
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, California, USA

Post by Bobby Lee »

The command to change the current directory in dos is "cd". To get to the root of C: type:

<code>cd C:\</code>

to go to the asm directory:

<code>cd C:\asm</code>

or maybe you need to go even deeper:

<code>cd C:\asm\nasmide</code>

DOS syntax was derived from Unix, but the idea of drives with letters came from CP/M. Ah, those were the days! Image

------------------
<font size="1"><img align=right src="http://b0b.com/Hotb0b.gif" width="96 height="96">Bobby Lee (a.k.a. b0b) - email: quasar@b0b.com - gigs - CDs, Open Hearts
Williams D-12 E9, C6add9, Sierra Olympic S-12 (F Diatonic)
Sierra Laptop S-8 (E6add9), Fender Stringmaster D-8 (E13, C6 or A6)</font><font size="1" color="#8e236b"><p align="center">[This message was edited by Bobby Lee on 02 August 2005 at 02:35 PM.]</p></FONT>
Mickey Lawson
Posts: 230
Joined: 23 Feb 2004 1:01 am
Location: Cleveland, Tennessee, USA

Post by Mickey Lawson »

Thanks Bobby.