Page 1 of 1 1
Topic Options
#169543 - 2006-10-17 11:09 PM Help with login script.
cmwieland Offline
Lurker

Registered: 2006-10-17
Posts: 2
Hello! I am pretty new to KixTart so any help would be greatly appriciated. Currently we are having Kix set default printers for our citrix/terminal server users during the login process while at the same time a batch file runs mapping the users drives etc.. I wish to eliminate the batch files completely and have Kix handle everything, so I have put the "use" statements in the Kixparms.kix and everything is working great for the drive mappings. with the exception of one snag that I have been beating my head against the wall for the past week. Currently in the batch file (or old login script) I have this statement..

if %username% equ cwieland goto Step0200
goto End
:Step0200
net use J: \\server\share
goto End

How do I make kix do the same thing that the batch file is doing for individual users?

Thank You,
Chad Wieland

Top
#169544 - 2006-10-17 11:15 PM Re: Help with login script.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
basically you could do the same, heaven forbid.

but simply put, you are propably looking for something like:
Code:

if @userID="cwieland"
use j: "\\server\share"
endif


Top
#169545 - 2006-10-17 11:32 PM Re: Help with login script.
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Please, it's KiXtart, not KixTart!
Top
#169546 - 2006-10-17 11:33 PM Re: Help with login script.
cmwieland Offline
Lurker

Registered: 2006-10-17
Posts: 2
That was it! It works perfect!! Thank you very much! I can't believe it was that simple. I have been fighting this for about a week now! You are the MAN!!

Thanks again!
Chad

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 764 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.066 seconds in which 0.044 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