Editing ini file

A

Alan

I tried to edit an .ini file (eclipse.ini) by right-clicking on the
file and choosing Edit. This brought up the file in Notepad. I made
a change and selected Save. Notepad gave the following error:

Cannot create the . . . .ini file.
Make sure that the path and file name are correct.

Anybody know what causes this?

Clicking OK brought up the Save As dialog. I typed "eclipse.ini" as
the file name and clicked Yes to overwrite. Got the same error.

Thanks, Alan
 
S

Synapse Syndrome

Alan said:
I tried to edit an .ini file (eclipse.ini) by right-clicking on the
file and choosing Edit. This brought up the file in Notepad. I made
a change and selected Save. Notepad gave the following error:

Cannot create the . . . .ini file.
Make sure that the path and file name are correct.

Anybody know what causes this?

Clicking OK brought up the Save As dialog. I typed "eclipse.ini" as
the file name and clicked Yes to overwrite. Got the same error.


Try saving it somewhere else?

ss.
 
A

Andrew McLaren

Alan said:
I tried to edit an .ini file (eclipse.ini) by right-clicking on the
file and choosing Edit. This brought up the file in Notepad. I made
a change and selected Save. Notepad gave the following error:
Cannot create the . . . .ini file.

Hi Alan

Where is the eclipse.ini located?

If it is under "c:\Program Files", you probably won't have permissions to
update the file. In Vista, all files under "C:\Program Files" are tightly
protected as a guard against viruses and other hijacks. This can cause
problems for Eclipse, which expects to have read/write access to is
described in the Eclipse installation notes:
http://www.eclipse.org/eclipse/development/readme_eclipse_3.2.2.html#I-Platform-CoreYou would need to edit the file explicitly as Administrator (eg right-clickNotepad, choose "Run as Administrator").You may also be tripped up by Program Files Virtualisation: http://support.microsoft.com/kb/927387The consensus appears to be that on Vista, Eclipse should be installed onits own directory off the root; eg C:\Eclipse, rather than under the%ProgramFiles% directory (at least as of Eclipse 6.0 ... later versionsmight accommodate this better).Hope it helps,--Andrew McLarenamclar (at) optusnet dot com dot au
 
A

Alan

Dave`s suggestion: "Take ownership of the file before you edit it. "
worked

Thanks, Alan
 
G

Guest

I'm having the same problem: I get an error message saying that the file name
or path in incorrect when I try to save .htm files in Notepad.

I've tried several things, such as saving to a removeable drive or creating
a new folder for the files, and I can't get the files to save changes.

How do I take ownership of a file? Can I take ownership of several files at
once, or the entire contents of a folder?

I'm using Windows Vista Home Basic, and all the files in question I created
myself on Notepad with Windows XP.

I've been struggling with this issue since switching to Vista in July -
thanks in advance for any suggestions!

Jake
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top