#1  
Old 15-01-2013, 02:33 PM
allan gould's Avatar
allan gould
Registered User

allan gould is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 4,485
changing ini file

A stupid question..... How can I change an ini file without changing the file extension?
When I do it in notepad it comes out as XXX.ini.txt and of course is not seen as the ini file.
Help?
Reply With Quote
  #2  
Old 15-01-2013, 02:40 PM
pluto's Avatar
pluto (Hugh)
Astro Noob

pluto is offline
 
Join Date: Dec 2011
Location: Sydney
Posts: 1,982
Just select it, press F2, and rename it "*.ini".
Windows will ask if you're sure you want to change the file type, say yes.
Reply With Quote
  #3  
Old 15-01-2013, 02:42 PM
allan gould's Avatar
allan gould
Registered User

allan gould is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 4,485
Many thanks Hugh as this has bugged me for ages
Reply With Quote
  #4  
Old 15-01-2013, 03:56 PM
pmrid's Avatar
pmrid (Peter)
Ageing badly.

pmrid is offline
 
Join Date: May 2008
Location: Cloudy, light-polluted Bribie Is.
Posts: 3,760
Quote:
Originally Posted by allan gould View Post
A stupid question..... How can I change an ini file without changing the file extension?
When I do it in notepad it comes out as XXX.ini.txt and of course is not seen as the ini file.
Help?
First change the name of the original file to xxx.old;
THEN and only then, copy it and rename it xxx.ini;
THEN edit it as you want; and
Finally save it as xxx.ini

If you stuff up, you can always delete your attempt and then rename the xxx.old back to xxx.ini.

Peter
Reply With Quote
  #5  
Old 15-01-2013, 04:17 PM
2stroke's Avatar
2stroke (Jay)
The devil's advocate

2stroke is offline
 
Join Date: Jul 2011
Posts: 816
When you open with notepad and edit and go to save just click "all files" in "save file as type" pulldown, its the simple why piss about changing extensions ect is beyond me lol.
Reply With Quote
  #6  
Old 20-01-2013, 10:32 AM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
Notepad and wordpad will both read *.ini files or in fact any ASCII formated file. I also have many ASCII files with *.dat and other private extensions.

For editing purposes I find wordpad better as it inserts a carriage return and linefeed to text files generated by linux editors and similar that use another non printable character to indicate the line feed/CR (eg. </b>).

I open "tools" on the menu bar and select "folder options", "file types".
I then find the .ini, .dat, .txt and any other extensions I like to edit in wordpad and set the "open with" to wordpad.

Thereafter whenever I click on these file formats they open in wordpad and save correctly without any bother with extensions.

Barry

PS With windows 7 this file association needs to be done through the control panel.
Reply With Quote
  #7  
Old 20-01-2013, 10:54 AM
mithrandir's Avatar
mithrandir (Andrew)
Registered User

mithrandir is offline
 
Join Date: Jan 2009
Location: Glenhaven
Posts: 4,161
Trade in Notepad and Wordpad on Notepad++. It makes none of M$'s stupid assumptions as to what you want to name files.
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 06:29 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement