Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: INIReadPvt percent %
[main] File1=%WinDir%netlog.exeThe following is defined in the WBT...
WinDir=DirWindows(0) FirstFile=IniReadPvt("Main","File1","",FcompareINI)What I get for the value of File1 is %WinDir%netlog.exe NOT c:\winnt\netlog.exe
Since the WinDir may not always be the same, I'd like to be able to change it if I need to. Any ideas??
[main] File1=%WinDir%netlog.exeAnd the WBT:
WinDir=DirWindows(0) FirstFile=IniReadPvt("Main","File1","",FcompareINI) FirstFile=StrReplace(FirstFile,"%%WinDir%%",WinDir)
Article ID: W13342
Filename: Read Parameters that contain Percents in INI Files.txt
File Created: 1999:04:15:16:53:22
Last Updated: 1999:04:15:16:53:22