Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting registry values
Message
 
To
06/10/2005 08:54:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Windows
Category:
Configuration
Miscellaneous
Thread ID:
01056700
Message ID:
01056703
Views:
21
This message has been marked as the solution to the initial question of the thread.
>What is wrong with the following procedure for inserting values into the
>registry? I adapted it from http://support.microsoft.com/kb/896054/; the
>idea is to enable CHM files in a certain directory. AFAIK, the only change I
>did was to change the sample directory to my own requirements.
>
>I created a batch file "permitirayuda.bat", with the following commands:
>
>regedit.exe /s permitirayuda.reg
>
>The corresponding registry file (permitirayuda.reg) contains the following:
>
>
>REGEDIT4
>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
>"UrlAllowList"="\\myserver\myapp\help;file://\\myserver\myapp\help"
>
>
>When running the batch file, as far as I could tell, the keys are created, but the value (UrlAllowList) is not.

When I created this manualy and then export it Here the contents of REG file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"UrlAllowList"="\\\\myserver\\myapp\\help;file://\\\\myserver\\myapp\\help"
I think you should double "\" and "/" but not sure.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform