Is there a way to set a variable that defines the default path?
I know I can hard code all of the paths to the various document files (url.txt, ip.txt, etc..), but maybe there is an easier way to do this? It would be nice to set this parameter once. I work on several different machines with various builds, so the path changes depending on where they want the PWB directory located.
Thanks.
Setting document paths
Moderators: Tyler, Scott, PWB v2 Moderator
Not currently, but I will add it to our list of new functionality for PWB.
You can use the registry to override the PWB INI file settings. In the "HKEY_CURRENT_USER\Software\TeamSoftware
Solutions\Public Web Browser v2" key, add a section name key and a new string value the corresponds to the value in the INI file.
For example to set the path to the URL file add the following to the registry.
HKEY_CURRENT_USER\Software\TeamSoftware Solutions\Public Web Browser v2\Files
CheckURLFile=E:\PWB\URL.txt
This will override the [Files]CheckURLFile in the PWB INI file for the current user.
In your logon scripts for the computer import the proper registry keys you want to override for the current user.
Please let me know if you have any questions.
--Scott
You can use the registry to override the PWB INI file settings. In the "HKEY_CURRENT_USER\Software\TeamSoftware
Solutions\Public Web Browser v2" key, add a section name key and a new string value the corresponds to the value in the INI file.
For example to set the path to the URL file add the following to the registry.
HKEY_CURRENT_USER\Software\TeamSoftware Solutions\Public Web Browser v2\Files
CheckURLFile=E:\PWB\URL.txt
This will override the [Files]CheckURLFile in the PWB INI file for the current user.
In your logon scripts for the computer import the proper registry keys you want to override for the current user.
Please let me know if you have any questions.
--Scott
-
- Participant
- Posts: 10
- Joined: Sun May 28, 2006 11:17 pm