#10402 - 2001-07-12 11:04 AM
Registry writes ARRRGGGGGHHHHHHHHH
|
Anonymous
Anonymous
Unregistered
|
Help we need a way of changine the name of My Computer in a Win98 environment to be the same as the m/c id (@wksta) for 2 days we have struggled with 3 lines of code - for the sake of our sanity please help !!![code] $machine=@wksta $keyclass="HKEY_LOCAL_MACHINE\Software\CLASSES\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\" writevalue("$keyclass","machine") [end code] what are we doing wrong ? loretta
|
|
Top
|
|
|
|
#10404 - 2001-07-12 08:41 PM
Re: Registry writes ARRRGGGGGHHHHHHHHH
|
Anonymous
Anonymous
Unregistered
|
Thanks a lot , it really is much appreciated, I should be able to test it on a 98 m/c am tomorrow This really is a friendly BBS 
|
|
Top
|
|
|
|
#10405 - 2001-07-13 09:13 AM
Re: Registry writes ARRRGGGGGHHHHHHHHH
|
Anonymous
Anonymous
Unregistered
|
Morning!!, the code for win98 is : $x=writevalue("HKEY_LOCAL_MACHINE\Software\CLASSES\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","","@wksta", "REG_SZ")many thanks for your help , any thing you need tested give me a shout - we have win98, nt, 2k, and sco unix thanks again loretta
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1046 anonymous users online.
|
|
|