Page 1 of 1 1
Topic Options
#139585 - 2005-05-11 06:45 PM Kix Script on Win98
aschramm Offline
Lurker

Registered: 2005-04-08
Posts: 2
I'm trying to using the following code on a Win98 desktop with the MS DSclient installed. However, it doesn't seem to be working. I'm really new to Kix and scripting in general. Any help would be appreciated.

CLS
BREAK ON
$index=0
;$logshare='C:\'
;$Profile=%USERPROFILE%

DO
$group=ENUMGROUP($index)
$logdat = $group
;$logdat='+@userid+','+'$group+@crlf
IF $logdat = "Domain\Server_Support_Admin"
copy \\server\support\kix\Support.lnk "c:windows\Desktop\My Shortcuts\Support.lnk"
ENDIF
$index=$index + 1
UNTIL Len($group)=0

Top
#139586 - 2005-05-12 01:16 AM Re: Kix Script on Win98
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
The COPY is missing quotes. What exactly is not working? Why can you not use INGROUP()?
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


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

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

Generated in 0.049 seconds in which 0.023 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