Registry import

  • Thread starter Thread starter Tanman
  • Start date Start date
T

Tanman

I am trying to create a login script for my clients network that imports
a single registry entry. (The entry that apppears on the right hand side
of the screen of the regedit window).

I do an export of the key that I want to export and remove the entries
that I don't want. The onl problem is that when I try to import that
file into the registry again, the keys are created, but there are no
entries on the right hand side of the regedit window.

I am slighty baffled by this.

I have put in the code below:


Code:
--------------------

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Mindjet\MindManager\6\Settings]
"StartDocument"=""
"DocumentDirectory"="\\sever\data\operation\Mindmaps"
 
Tanman said:
I am trying to create a login script for my clients network that imports
a single registry entry. (The entry that apppears on the right hand side
of the screen of the regedit window).

I do an export of the key that I want to export and remove the entries
that I don't want. The onl problem is that when I try to import that
file into the registry again, the keys are created, but there are no
entries on the right hand side of the regedit window.

I am slighty baffled by this.

I have put in the code below:


Code:
--------------------

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Mindjet\MindManager\6\Settings]
"StartDocument"=""
"DocumentDirectory"="\\sever\data\operation\Mindmaps"

You must double your backslashes:

"DocumentDirectory"="\\\\sever\\data\\operation\\Mindmaps"

Watch the spelling of "sever" vs. "server"!
 
Back
Top