Hi,
I have a application that requires use of it's own dedicated .ini file.
The application does not use the registry, it basicly seaches all paths specified in path statement.
I have tried adding a system variable as shown below to include path to user profile (Ducuments and Settings\%username%\windows)
.
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Citrix\IMA\SubSystems;C:\RIO32;c:\Program Files\Common Files\Powersoft Shared;c:\sybtools\win32;C:\SYBASE\DLL;C:\SYBASE\BIN;c:\Documents and settings\%username%\windows
The problem with the above is it requires the translation of the %username% variable to make it user specific.
Unfortunately this is not translated to the username but taken literally.
Hence the path to the .ini loclated in the user profile directory is not found.
Has anyone got any ideas as to how I can add a path to use the current user name.
Thanks in Advance.
I have a application that requires use of it's own dedicated .ini file.
The application does not use the registry, it basicly seaches all paths specified in path statement.
I have tried adding a system variable as shown below to include path to user profile (Ducuments and Settings\%username%\windows)
.
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Citrix\IMA\SubSystems;C:\RIO32;c:\Program Files\Common Files\Powersoft Shared;c:\sybtools\win32;C:\SYBASE\DLL;C:\SYBASE\BIN;c:\Documents and settings\%username%\windows
The problem with the above is it requires the translation of the %username% variable to make it user specific.
Unfortunately this is not translated to the username but taken literally.
Hence the path to the .ini loclated in the user profile directory is not found.
Has anyone got any ideas as to how I can add a path to use the current user name.
Thanks in Advance.