You set the HOME environment variable to the Dia installation directory, 
which apparently it doesn't like -- there may be a template copy of the 
diarc file there, or it may just be paranoid about the location of its 
temporary files. Since you went the autoexec.bat route, I'm assuming 
you're running 98 or ME; my advice to you in that case would be to 
create a directory in which you can store you dia documents, or find a 
directory which you already use for most of your work, and enter it as 
the location of the dia files.

Of course, you could also try replacing the string "Program Files" with 
"progra~1" -- I was doing a build of a tool ported from UNIX on an ME 
box just today, and that was the only thing that would allow it to parse 
pathnames correctly.

Lennon Day-Reynolds

Tushar Medhi wrote:

> Hello,
> 
> I set the this in my autoexec.bat,
> 
> SET HOME="C:\Program Files\Dia"
> 
> and now I can't even start Dia. I get the first the Runtime Error, saying
> Program: C:\Program Files\Dia\Bin\Dia.exe
> 
> Abnormal program termination
> 
> And in the background the MS-Dos Window shows the following error,
> 
> ** ERROR **: Could not create per-user Dia config directory
> aborting...
> 
> Can anyone tell me What I've done wrong?
> 
> Tushar
> 
> 
> 
> 
> ----- Original Message -----
> From: "James Henstridge" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 17, 2001 4:38 PM
> Subject: Re: Error Message on Win32
> 
> 
> 
>>On Thu, 17 May 2001, Tushar Medhi wrote:
>>
>>
>>>Hello,
>>>
>>>I just installed Dia v0.86 on Win32. I didn't had any problem when
>>>
> installing and either when I run the program. I get a message when I try to
> change anything in Preferences. The message says, "Can not open
> c:\windows\TEMP\dia\diarc" for writing".
> 
>>>I didn't find anything helpful in FAQ. I would appreciate if anyone of
>>>
> you have an idea  about what should I do.
> 
>>Try setting the HOME environment variable (either through the system
>>control panel on WinNT/2k, or in the autoexec.bat file on 95/98) to your
>>home directory.
>>
>>James.
>>
>>--
>>Email: [EMAIL PROTECTED]
>>WWW:   http://www.daa.com.au/~james/
>>
>>
>>
> 
> 



Reply via email to