Inhalt
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Suchen
Login
Navigation
Home Kostenlose Software Kommandozeilen-Programme GetPrivateProfileString - Ein Programm zum Lesen von Windows INI-Dateien
Aktuell
Featured Articles
Joomla 1.5 Featured Articles
Navigation
Home Kostenlose Software Kommandozeilen-Programme GetPrivateProfileString - Ein Programm zum Lesen von Windows INI-Dateien
Wer ist online?
Wir haben 117 Gäste und 1 Benutzer online
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
GetPrivateProfileString - Ein Programm zum Lesen von Windows INI-Dateien E-Mail
Benutzerbewertung: / 5
SchwachPerfekt 
Kostenlose Software - Kommandozeilen-Programme
Geschrieben von: Thomas   
Dienstag, 28. Juli 2009 um 13:14 Uhr

 

GetPrivateProfileString.exe ist ein Kommandozeilen-Programm zum Lesen von Windows INI-Dateien.

Es handelt sich un einen einfachen Wrapper für das Windows-API GetPrivateProfileString (). Das Programm kann von einer Windows Kommandozeile heraus zum Lesen von INI-Dateien verwendet werden. Es liest entweder nur einfache Schlüssel oder gleich ganze Sektionen.

 

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)

 

Zuletzt aktualisiert am Montag, 22. März 2010 um 22:07 Uhr
 
Du musst dich anmelden oder registrieren, um einen Kommentar zu schreiben.
Im Forum diskutieren. (0 posts)
Diskutieren (0 Posts)