#16583 - 2002-01-24 06:58 PM
Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I have a question. I am an administrator of approximately 30 locations linked by 56 - 256K lines.. currently I am using bat script processing to accompish my tasks accompanied by utils in the script like con2prt or regini and IFMEMBER. Script processing is slow because of the link speed. My concern for KIX is not related to the ease of use but the speed. Will I notice a speed difference if I move to KIX. Some things will still have to be done through bat simply because I do not know kix well at all. My concern is will it be worth my time to re-write the scripts in KIX? How does the KIX process faster than say a basic bat file? Thank you in advance for any replies I get.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16584 - 2002-01-24 07:27 PM
Re: Kix vs BAT
|
Will Hetrick
Hey THIS is FUN
Registered: 2001-10-02
Posts: 320
Loc: Harrisburg, PA USA
|
Dear Austin,Have you ever heard of the old saying "If it is not broken, Don't fix it!" 
_________________________
You have at least 2 choices. Each choice changes your destiny. Choose wisely!
|
|
Top
|
|
|
|
#16585 - 2002-01-24 07:30 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I have heard of that... and I also know the saying it is good but can be better. When you have users complaining about a 30-45 second login script you want to try to help them because you know how annoying it is. That is why I am looking for alternatives. I hardly feel that your reply addressed my questions but thank you for your time.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16586 - 2002-01-24 07:31 PM
Re: Kix vs BAT
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I was in the same boat as you, and I had about a half dozen comand-line utilities in my logon folder, and logon time for remote users was problematic.Then I copied the files locally to the clients to try to cut that time down. Then I got missing/deleted files, permission issues in copying the files, and issues in updating/adding new functionality, with the need to distribute new files. Then I discovered Kixtart in the reskit (sound of heavenly trumpets)... All that other crap went away, I have kix32.exe in the users windir, and it can do THOUSANDS of times more stuff than virtually every dos utility combined. If you want it done in a logonscript Kix will do it, and usually alot easier that in DOS, and a hundred times easier than WSH. BTW, it is very fast, and 4.02 is supposed to be even faster determining SIDs and Group stuff.
|
|
Top
|
|
|
|
#16588 - 2002-01-24 07:35 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Very nice... thank you for your professionalism. I like you have come up with the method of copying the files locally and just making a sync step the first thing that I do... i suppose right now my main problem is not so much what I can and cannot due in bat but rather the time it takes to process the scripts. Is anyone aware of how the scripts are processed in bat vs kx? Is it by line or is the file read in then processed? Mainly right now I need to be able to check a clients IP address... store third octet in variable and then determine a group membership to map a printer... I am accomplishing this now but it is timely.Thank you in advance for your support.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16590 - 2002-01-24 07:53 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
very interesting... perhaps I should look into this... are you stating that on the LAN it processes in 30-45 sec or through dialup?
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16592 - 2002-01-24 08:12 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I looked at that script and I have no idea what it is doing... this would take some serious time to learn this stuff it looks like.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16594 - 2002-01-24 08:20 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
So I suppose I ask the question why use kix over bat then.. is it just simplicity?
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16596 - 2002-01-24 08:41 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Where would I find basic stuff about how to do the basic things in kix such as attach to printers or map drives...
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16599 - 2002-01-24 09:08 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
that is sweet what is the $ret for?
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#16600 - 2002-01-24 09:10 PM
Re: Kix vs BAT
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
some commands return an error or value or status. $ret is there to catch that value without it displaying on the screen.
|
|
Top
|
|
|
|
#16601 - 2002-01-24 09:51 PM
Re: Kix vs BAT
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
How about this.. can I set variables just the same as in bat set varname=and then can I call the variable as %varname% can I use commands as I normally would in bat style such as copy or xcopy or ping Can I use all normal DOS shell stlye commands?
_________________________
Austin Henderson
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1045 anonymous users online.
|
|
|