Page 1 of 1 1
Topic Options
#17971 - 2002-02-27 12:05 AM Regini / regedit not working
cellnet Offline
Starting to like KiXtart

Registered: 2002-02-26
Posts: 115
Loc: Sweden
Hallo
Trying to load a *.key alt *.reg file into the registry, to set search path for Office97.
OS = Nt4, Win2k

Its working fine today using batch:
%logonserver%\netlogon\regini %logonserver%\netlogon\office.key

But in kix its not working. I have tryed the following:
1.
shell "regedit /s @lserver\netlogon\files\reg\office.reg"

2.
$regfile = "@lserver\netlogon\files\reg\office.key"

shell "@lserver\netlogon\files\exe\regini $regfile"

3.
$regfile = "@lserver\netlogon\files\reg\office.reg"
shell '%comspec% /c regedit -s "$regfile" > nul'

Neither of this work. Any ideas

Regards
Erik

Top
#17972 - 2002-02-26 01:20 PM Re: Regini / regedit not working
Auke Offline
Fresh Scripter

Registered: 2002-01-31
Posts: 33
Loc: Purmerend, The Netherlands
Erik,

I've just tested your script on a W2K machine and everything seems to work fine.
I just your option:

shell "regedit /s @lserver\netlogon\files\reg\office.reg"

Are you sure you have only one DC or are there more DC's in your network. If there are more DC's are you sure that you placed the office.reg in every DC. Or are you sure that file replication is on.

Just try to replcae @lserver to the server name the reg's are on.

If I'm right your first script, without kix, points to this dir:

\netlogon\office.key

But in kix you are using this dir:

\netlogon\files\reg\office.reg

Are you sure the file is there?

[ 26 February 2002: Message edited by: Auke ]

_________________________
Greetz AukeB

Top
#17973 - 2002-02-28 04:04 PM Re: Regini / regedit not working
cellnet Offline
Starting to like KiXtart

Registered: 2002-02-26
Posts: 115
Loc: Sweden
Hallo

Thanks for the quick reply. The files are placed correct. Tryed to structure the netlogon folders ;)

Recive "disk not ready" when trying shell "regedit /s @lserver\netlogon\files\reg\office.reg"

The users has only users rights both on NT4 & Win2k.

Could that be the problem

Regards
erik

Top
#17974 - 2002-03-01 07:06 AM Re: Regini / regedit not working
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Welcome to the board.

Question: why not using the internal kixtart functions for setting
your Office97 keys.

See for ideas topic
http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=001590
greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#17975 - 2002-03-01 10:11 AM Re: Regini / regedit not working
cellnet Offline
Starting to like KiXtart

Registered: 2002-02-26
Posts: 115
Loc: Sweden
hallo

Looked at the diffrent ideas, but I think I will return to Batch in this case.

Did see some kind of converter for reg files to kix.

Are you aware of this program ?

Regards
erik

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 931 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.057 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org