Page 1 of 1 1
Topic Options
#110597 - 2003-12-18 10:08 PM First Question about KIX Newbe
Blutgerinsel Offline
Fresh Scripter

Registered: 2003-12-18
Posts: 14
Hello,

is that correkt that I must create a File with then file-extension *.kix?

I would like to create at the OS Win XP a logging script that recived every time when I have booted the remote ressources from my server server and mounted it.

The Clientname is: Darkomen
And Username adm-jacky

The Script are:

IF (@userid = "adm-jacky")
USE H: "\\darkomen\i$\"
ENDIF

After I startet the kix script with kix32.exe nothing happends.

Have someone an idea?
I'm currently newbe.....

Thx

Top
#110598 - 2003-12-18 10:10 PM Re: First Question about KIX Newbe
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See the KiXtart Manual for allowed extensions and how KiXtart finds default scripts. See also the FAQ Fo KiXtart Starter's Guide rum under

Edited by sealeopard (2003-12-18 10:12 PM)
_________________________
There are two types of vessels, submarines and targets.

Top
#110599 - 2003-12-18 10:21 PM Re: First Question about KIX Newbe
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You can call the script whatever you want as long as you pass the script name as a paramenter. If you do not pass the script name as a parameter then read the manual about default behaviour.

Your script could use some cleaning up. First off, there is no need to force precedence with the parethesis. Second, depending on KiX version, the $ inside quotes should be doubled as $$. Thirdly, you should not end your USE line with a backslash.
Code:
IF @userid = 'adm-jacky' 
USE H: '\\darkomen\i$$'
ENDIF

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#110600 - 2003-12-18 10:29 PM Re: First Question about KIX Newbe
Blutgerinsel Offline
Fresh Scripter

Registered: 2003-12-18
Posts: 14
Nice @Les.
I really happy that works.

Thank you very much

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 1119 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.039 seconds in which 0.016 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