|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Global question
Just in case for logon scipt, what language the best to use, I mean:
batch VBS Perl Which one is more powerful? For example for basic things: map network drive connect printer may be update some files on a workstations With best regards, Vitali
Show quote
"Vitali V" <vit***@dynamo-ny.com> wrote in message This is mostly a personal preference for the people who will be supporting news:OMatc54nFHA.3256@TK2MSFTNGP10.phx.gbl... > Just in case for logon scipt, what language the best to use, I mean: > batch > VBS > Perl > > Which one is more powerful? > For example for basic things: > map network drive > connect printer > may be update some files on a workstations > > With best regards, > > Vitali the logon script. I would say that Perl is the "most powerful" but I haven't seen very much Perl sample code for logon scripts. So most of what you write will be from scratch. The Internet has many VBScript examples useful for logon scripts, this is probably the most popular. I like batch files for my own admin scripts, but not for logon scripts. There's too many differences between OS versions and without calling external, many times 3rd party executables, your functionality is limited. My personal favorite for logon scripts is KiXtart: http://www.kixtart.org/ http://www.scriptlogic.com/kixtart/ http://boards.cramsession.com/boards/vbt.asp?b=45 http://helpdesk.kixtart.org/ http://www.kixscripts.com/main.asp http://www.kixhelp.com/ http://kix.isorg.com/ http://www.kixforms.com/ http://www.adminscripteditor.com/main.asp
Show quote
"Marty List" <use***@optimumx.com> wrote in message A well-rounded response to the question. I would only add that the bestnews:%23AhGMyAoFHA.2444@tk2msftngp13.phx.gbl... > > "Vitali V" <vit***@dynamo-ny.com> wrote in message > news:OMatc54nFHA.3256@TK2MSFTNGP10.phx.gbl... > > Just in case for logon scipt, what language the best to use, I mean: > > batch > > VBS > > Perl > > > > Which one is more powerful? > > For example for basic things: > > map network drive > > connect printer > > may be update some files on a workstations > > > > With best regards, > > > > Vitali > > > This is mostly a personal preference for the people who will be supporting > the logon script. I would say that Perl is the "most powerful" but I > haven't seen very much Perl sample code for logon scripts. So most of what > you write will be from scratch. > > The Internet has many VBScript examples useful for logon scripts, this is > probably the most popular. > > I like batch files for my own admin scripts, but not for logon scripts. > There's too many differences between OS versions and without calling > external, many times 3rd party executables, your functionality is limited. > > My personal favorite for logon scripts is KiXtart: > http://www.kixtart.org/ > http://www.scriptlogic.com/kixtart/ > http://boards.cramsession.com/boards/vbt.asp?b=45 > http://helpdesk.kixtart.org/ > http://www.kixscripts.com/main.asp > http://www.kixhelp.com/ > http://kix.isorg.com/ > http://www.kixforms.com/ > http://www.adminscripteditor.com/main.asp language to use might not be the most powerful, but the one most applicable, and most able to do what one wants in a logon script (and that might be different for different organizations). In fact, powerfulness could be, in fact, a bad thing in some cases. I have seen numerour examples where logon scripts morphed into some sort of "let's do everything we can possibly do here just because we can" kind of enterprise. In my view, logon scripts should: a) be simple; b) be short; c) not take long to run; d) not do very much. In some environments, a weaker language might be best, as long as it could do what was needed without too much effort. If I were re-doing the scripts I converted from kixtart to vbscript, I would give serious consideration to batch. /Al Thank you for your answer
Show quote "Marty List" <use***@optimumx.com> wrote in message news:%23AhGMyAoFHA.2444@tk2msftngp13.phx.gbl... > > "Vitali V" <vit***@dynamo-ny.com> wrote in message > news:OMatc54nFHA.3256@TK2MSFTNGP10.phx.gbl... > > Just in case for logon scipt, what language the best to use, I mean: > > batch > > VBS > > Perl > > > > Which one is more powerful? > > For example for basic things: > > map network drive > > connect printer > > may be update some files on a workstations > > > > With best regards, > > > > Vitali > > > This is mostly a personal preference for the people who will be supporting > the logon script. I would say that Perl is the "most powerful" but I > haven't seen very much Perl sample code for logon scripts. So most of what > you write will be from scratch. > > The Internet has many VBScript examples useful for logon scripts, this is > probably the most popular. > > I like batch files for my own admin scripts, but not for logon scripts. > There's too many differences between OS versions and without calling > external, many times 3rd party executables, your functionality is limited. > > My personal favorite for logon scripts is KiXtart: > http://www.kixtart.org/ > http://www.scriptlogic.com/kixtart/ > http://boards.cramsession.com/boards/vbt.asp?b=45 > http://helpdesk.kixtart.org/ > http://www.kixscripts.com/main.asp > http://www.kixhelp.com/ > http://kix.isorg.com/ > http://www.kixforms.com/ > http://www.adminscripteditor.com/main.asp > > > |
|||||||||||||||||||||||