Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Mapped INI Files
I have a script which is using INIItemizePvt to read an INI file and present the contents as a menu to the user. The syntax I'm using to read the sections of the file is as follows:
INIFILE=strcat(DirWindows(0),"PRINTERS.INI") floors=iniitemizepvt("",INIFILE)The second line above produces the error "Null section name not valid for mapped INI files". What's a mapped INI file? This script worked fine in Winbatch 97x.
INIFILE=strcat(DirWindows(0),"PRINTERS.INI") if !FileExist(INIFILE) Message("Eeeop","might be a mapped file") endif floors=iniitemizepvt("",INIFILE)
Article ID: W13341
Filename: Mapped INI Files.txt
File Created: 1999:04:15:16:53:22
Last Updated: 1999:04:15:16:53:22