Contenu
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Rechercher
Login
Navigation
Home Logiciel gratuit Command line utilities GetPrivateProfileString - An application to read Windows ini files
Les plus récents
Articles vedettes
Joomla 1.5 Featured Articles
Navigation
Home Logiciel gratuit Command line utilities GetPrivateProfileString - An application to read Windows ini files
Qui est en ligne?
Nous avons 868 invités et 6 membres en ligne
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
GetPrivateProfileString - An application to read Windows ini files Envoyer
Note des utilisateurs: / 10
MauvaisTrès bien 
Logiciel gratuit - Command line utilities
Écrit par Thomas   
Mardi, 28 Juillet 2009 13:14

 

GetPrivateProfileString.exe is a command line utility to read Windows ini files.

It is a mere wrapper application for the Windows API GetPrivateProfileString (). The program can be used to read ini file entries, either keys or whole sections, from Windows command line batch files.

 

GetPrivateProfileString 1.0.0.3 - built 2009-07-15 16:37:32
Contact: Thomas - Go to http://www.dateiliste.com for more.

Invocation:

GetPrivateProfileString inifile [[section] key] [default]

Parameters:

inifile    The name of the configuration file.
If this parameter does not contain a full path
to the file, the system searches for the file
in the Windows directory.

[section]  The section name in the configuration file.
This parameter can but does not have to be
enclosed in square brackets [].

key        The key within the section in the configuration
file.

default    The default value returned if key does not exist
in the section.

Return values:

0         No error.
1         Returned when no parameters are provided (like
now) or when too many parameters are given.
2         Out of memory.
3         Returned when default is not used but the key
could not be found in section or inifile does
not exist.

Examples:

GetPrivateProvileString .\IniFile.ini [General] Set DefSet

Retrieves the value of Set in the [General]
section of the file IniFile.ini in the current
directory.
If IniFile.ini has the content below the
value 'MySetting' is retrieved. If the setting
does not exist the value 'DefSet' is returned.

[General]

Set=MySetting

 

Download GetPrivateProfileString.exe (0.04 MiB = 44.0 KiB = 45,056 bytes)

Download GetPrivateProfileString.zip (0.02 MiB = 18.8 KiB = 19,200 bytes)

 

Mise à jour le Lundi, 22 Mars 2010 22:07
 
You need to login or register to post comments.
Discutez de ceci sur le forum. (0 posts)
Discutez de (0 posts)