inicmd overview
IniCmd is a freeware command line utility for ini files processing. IniCmd can create, set, delete keys, erase sections and compare two ini files for differences. It was designed for people not want to use any script kernels.
Create/set key
Example: C:\temp\inicmd /create init.ini Plugins "3D rotation" 3drotate.dll
Delete key
Example: C:\temp\inicmd /delkey init.ini Plugins "2D stretch"
Erase section
Example: C:\temp\inicmd /delsect init.ini Options
Compare two ini files
Example: We need to compare two ini files for differences between sections and keys existing.
A.INI has following content:
[Section 1]
Param1=Useful command line utility
Param2=ini files processing
[Section 2]
driver=drv11.sys
B.INI has following content:
[Section 1]
Param1=Useful command line utility
[Section 3]
key=line
Let we will enter following command in command-line window:
c:\temp\inicmd /compare a.ini b.ini > compare.log
then we will get the file compare.log with following content:
Sections of "a.ini" that does not exist in "b.ini":
---------------------------------------------------
Section 2
Sections of "b.ini" that does not exist in "a.ini":
---------------------------------------------------
Section 3
File "a.ini", analyse Section "Section 1":
=============================
Params of "a.ini" that does not exist in "b.ini":
-------------------------------------------------
Param2
Now you can assumpt the decision for processing your ini files.
RSS newsfeed