Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: IniReadPvt Citrix WinFrame.
Problem:
I am attempting to READ a private ini file located at
d:\winframe\crgroups.ini. However it seems to be reading the file at
h:\user\windows\crgroups.ini. I am specifying the path in the function
as follows:
inireadpvt("stuff","password","default","d:\winframe\crgroups.ini")
The section [stuff] does exist in the ini file at:
d:\winframe\crgroups.ini.
And doesn't exist in the ini file at:
h:\user\windows\crgroups.iniThe return value I get when executing:
inireadpvt("stuff","password","default","d:\winframe\crgroups.ini")
is the value:'default', even though, the section [stuff] and the keyword password=n exists in the file "d:\winframe\crgroups.ini".
How could this be?
In other words:
The read of the ini, is being redirected by Citrix to the users/windows directory....
Therefore, if you want to access the ini file directly, I would suggest creating a new directory such as c:\Globalini and placing the private ini-file "crgroups.ini" in this directory and have your script point to the NON-WinFrame directory:
inireadpvt("stuff","password","default","d:\Globalini\crgroups.ini")
Article ID: W14115
Filename: IniReadPvt returns default using Citrix WinFrame.txt
File Created: 1999:05:03:14:23:30
Last Updated: 1999:05:03:14:23:30