Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home
General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2
Drivers
Driver Scan
Driver Forum
Software
Automatic Updates
BIOS Updates
My Computing.Net
Solution Center
Free IT eBook
Howtos
Site Search
Message Find
RSS Feeds
Install Guides
Data Recovery
About
Home
Edit ini file from batch
Original Message
Name: Richard2112
Date: March 4, 2005 at 09:18:51 Pacific
Subject: Edit ini file from batchOS: NTCPU/Ram: Pentium III
Comment: I need to edit line an ini file as part of an install, by running a batch. Is this possible please? e.g change[settings] IP=xx.xx.xx.xx DSN=xxxxxxx
to
[settings] IP=yyy.yy.yy.yy DSN=wwwwwwww
Report Offensive Message For Removal
Response Number 1
Name: Mechanix2Go
Date: March 4, 2005 at 09:45:27 Pacific
Subject: Edit ini file from batch
Reply: (edit )Hi Richard,To do it in a batch using only NT [FIND DEBUG etc] soon turns into a kludge.
If you're amenable to using a small [<1KB] utility, life gets easier.
Lemme know.
HTH
M2
Report Offensive Follow Up For Removal
Response Number 2
Name: Richard2112
Date: March 5, 2005 at 05:14:07 Pacific
Subject: Edit ini file from batch
Reply: (edit )I cant really use an application as I need to send a single batch file to people. Ive looked a using the FOR command can this be used?Cheers
Rich
Report Offensive Follow Up For Removal
Response Number 4
Name: Richard2112
Date: March 5, 2005 at 08:34:46 Pacific
Subject: Edit ini file from batch
Reply: (edit )Please could you send me the required info for the batch file? That would be excellent, cheers for your help.Rich
Report Offensive Follow Up For Removal
Response Number 5
Name: Mechanix2Go
Date: March 5, 2005 at 16:15:38 Pacific
Subject: Edit ini file from batch
Reply: (edit )Hi Rich,Yes, I will.
Got to leave for about 15 hours and if I'm not trashed upon return, I'll get it worked up.
Cheers
M2
Report Offensive Follow Up For Removal
Response Number 6
Name: Mechanix2Go
Date: March 6, 2005 at 23:12:40 Pacific
Subject: Edit ini file from batch
Reply: (edit )Hi Rich,OK, Will all the original INI files be identical?
I assume that the changed INI will be specific to the box that it's on, right?
From where will the BATCH get this bit:
IP=yyy.yy.yy.yy DSN=wwwwwwww
If you can send me an INI, that will help.
Use this address because the SPANbots here are getting completely out of hand.
RichINF22
"at" dodgeit.com
*** Cheers
M2
Report Offensive Follow Up For Removal
Response Number 7
Name: Richard2112
Date: March 7, 2005 at 00:18:02 Pacific
Subject: Edit ini file from batch
Reply: (edit )Thanks for your help, but ive sorted it now. I just echo the commands to an ini filei.e. echo IP=yyy.yy.yy.yy >> test.ini
having deleted the original.
Cheers
Rich
Report Offensive Follow Up For Removal
Use following form to reply to current message: