#114606 - 2004-02-23 02:09 PM
Help with single line..
|
Steffen Hansen
Lurker
Registered: 2002-05-27
Posts: 3
Loc: Denmark
|
The following line fails with : "Script error : invalid method/function call: Missing comma !" And I guess I'm too stupid to see the obvious
WRITEPROFILESTRING('\\susserver\WOL$\suswol.ini','SUSWOL',JOIN(SPLIT(@IPADDRESS0,' '),'')+','+@ADDRESS,'')
I'm trying to set up a fully automated Windowsupdate environment here at wrrk and the line is from Ed Van Balens "How to combine WOL and POL with SUS" page : http://www.xs4all.nl/~equator/suswol/
Thanks for listening...
_________________________
-----------------------------------------------------------------------
Well, a bloke needs a hobby, I always say. And hey, in this big old
world there's always plenty of dung out there to be collected;
after all, I hear the Ducati factory is working longer shifts now.
|
|
Top
|
|
|
|
#114607 - 2004-02-23 02:17 PM
Re: Help with single line..
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
That is not the line I find there...
WRITEPROFILESTRING('\\server-name\WOL$\suswol.ini','SUSWOL',JOIN(SPLIT(@IPADDRESS0,' '),'')+','+@ADDRESS, 'WOL')
Notice the 'WOL' at the end of the line.
|
|
Top
|
|
|
|
#114608 - 2004-02-23 02:25 PM
Re: Help with single line..
|
Steffen Hansen
Lurker
Registered: 2002-05-27
Posts: 3
Loc: Denmark
|
Ups.. Sorry for the confusion..
The line I posted is from the sysnowol.kix script which is executed whenever a PC starts up. The line you posted is from the sustatus.kix script which is executed when a PC shuts down.
They both fail though (same "missing comma" error)...
Again - Thanks for listening
_________________________
-----------------------------------------------------------------------
Well, a bloke needs a hobby, I always say. And hey, in this big old
world there's always plenty of dung out there to be collected;
after all, I hear the Ducati factory is working longer shifts now.
|
|
Top
|
|
|
|
#114611 - 2004-02-23 02:44 PM
Re: Help with single line..
|
Steffen Hansen
Lurker
Registered: 2002-05-27
Posts: 3
Loc: Denmark
|
I must once again bow down and admit I suck... Badly.. upgrading from 4.10 to 4.21 did the trick...
Sorry for the trouble..
_________________________
-----------------------------------------------------------------------
Well, a bloke needs a hobby, I always say. And hey, in this big old
world there's always plenty of dung out there to be collected;
after all, I hear the Ducati factory is working longer shifts now.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1636 anonymous users online.
|
|
|