#113507 - 2004-02-06 07:57 PM
Minimum needed for 'writevalue' command to work
|
jkm777
Fresh Scripter
Registered: 2004-02-06
Posts: 5
|
I need to know what is the minimum needed to make the 'writevalue' command work in a logon.cmd on a 2000 domain. Dll?, program install?, reboot for either????
Thanks
|
Top
|
|
|
|
#113508 - 2004-02-06 08:24 PM
Re: Minimum needed for 'writevalue' command to work
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Welcome to the board..
WRITEVALUE is used to write a value to the registry. WRITELINE is used to write a line to a TEXT file. WRITEPROFILESTRING is used to write an entry in an INI file.
From what you are talking about, you probably need WRITELINE. A pretty decent example is in the Guide provided with the KiXtart download. Or, you can look at the LOGGER() UDF in the UDF Forum here on this site.
HTH,
Kent
|
Top
|
|
|
|
#113510 - 2004-02-06 09:14 PM
Re: Minimum needed for 'writevalue' command to work
|
jkm777
Fresh Scripter
Registered: 2004-02-06
Posts: 5
|
Will I need a reboot?
|
Top
|
|
|
|
#113511 - 2004-02-06 09:33 PM
Re: Minimum needed for 'writevalue' command to work
|
jkm777
Fresh Scripter
Registered: 2004-02-06
Posts: 5
|
Sorry guys, I am getting no where fast. Spell it out. Do I put kix32 or Wkix32 in the scripts folder?? What will the profile say. (this is for citrix users by the way) All I want to do is run " writevalue( "HKEY_CURRENT_USER\software\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "nodrives" , "262144" , "REG_DWORD" )" for any user I want in the domain. This statement is in a test.cmd file. Test.cmd is in the scripts folder. It is also listed in the profile. This is Windows 2000 server.
Kevin
|
Top
|
|
|
|
#113513 - 2004-02-06 10:17 PM
Re: Minimum needed for 'writevalue' command to work
|
jkm777
Fresh Scripter
Registered: 2004-02-06
Posts: 5
|
OK. Now I know I am going to make friends forever.
All of the Kix manuals assume you are alread a KIX user.
And for some reason assumes Windows 95 still exists. Please, it is so simple...it has to be. If I can make ONE work, I am good to go.
What is $rc....that tells me nothing. Dont answer...
Just please tell me how to run the script I listed. I am testing this product.
Does still yet another script listed in the profile need to read kix32 test.cmd to make writevalue work?
Please, no abbreviations, spell it out.
Edited by jkm777 (2004-02-06 10:18 PM)
|
Top
|
|
|
|
#113515 - 2004-02-06 10:27 PM
Re: Minimum needed for 'writevalue' command to work
|
jkm777
Fresh Scripter
Registered: 2004-02-06
Posts: 5
|
You are a genious. Thanks. I am not an idiot ,really. I just need to move toward a working solution quickly. Thanks
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 557 anonymous users online.
|
|
|