Page 1 of 1 1
Topic Options
#3093 - 2000-05-23 02:07 PM Disable Kix for RAS users?
Anonymous
Unregistered


Is there any way to not have kix run when using a dialup connection? Its horribly slow with ras.
Top
#3094 - 2000-05-23 02:17 PM Re: Disable Kix for RAS users?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
if @ras
quit
endif
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#3095 - 2000-05-24 05:59 AM Re: Disable Kix for RAS users?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
isn't it :

code:

IF @RAS > 0
Quit
ENDIF

[This message has been edited by jpols (edited 24 May 2000).]

_________________________



Top
#3096 - 2000-05-24 08:56 AM Re: Disable Kix for RAS users?
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
the only reason "if @ras " works buy it self is that kix automatically assumes that if there is no operator (=,<,>,<>,<=, >=,....) it will default to "=1"

so if that person running this script

if @ras
quit
endif

only has 1, ras connection at that time, then it would quit.

Jochen, you are right the surefire way would to use a >0 or a >=1. Plus i hate having half an if statement hanging out there

Bryce



Top
#3097 - 2000-05-24 09:18 AM Re: Disable Kix for RAS users?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Bryce You're right .....
I would rather disable logon script for ras Users than writing on half ended If statement


Hey why not

create User accounts for Ras Users and let them run a minimal Logonscript like following little batch i once wrote for RAS Users:

code:

@echo off
exit


Yours beyond belief bored

Jochen

P.S. Bryce :nice photos on Your homepage!!!!
i would be happy to have a 'Rib- Eye' with You

_________________________



Top
#3098 - 2000-05-24 01:07 PM Re: Disable Kix for RAS users?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
You could do this if you wanted...

if @ras=0
<logon script for lan users>
else
<logon script for ras users>
endif

_________________________
How to ask questions the smart way <-----------> Before you ask

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
1 registered (Allen) and 957 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.058 seconds in which 0.029 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