[wplug] Exploder to Fire Fox
Duncan Hutty
duncanhutty at comcast.net
Thu Jul 8 09:25:31 EDT 2004
Bill Moran wrote:
>Samba can be configured to have clients run a batch file on login. This
>would be a file in the windows batch language (.bat) I don't remember the
>Samba config option off the top of my head, but a quick search of the
>docs should turn it up.
>
>The windows batch language is pretty limited, but you should be able to
>get it to do what you need. An alternative would be to install active
>Perl on each client machine, then make the scripts in perl.
>
>
>
The limitations of batch files with regards to functionality and
interaction with the OS environment have largely been removed since the
days of IE3 with the introduction of windows scripting host. WSH exposes
most COM objects to manipulation with VBscript or JavaScript. There are
plenty of reasons not to like windows, but this one is largely
fallacious. Having said that I admit that for me, it is easier to write
bash scripts that only have to interact with files, than to learn all
the windows objects. VBScript is not a complete language like perl, but
there is still significant functionality that can be obtained using
vbscript/WSH.
On another note: it is possible for samba to run a script on the server
upon client login. Perl would (presumably) then be available to you.
Would it be possible for the server's script to make the modifications
to the client machine that you require?
Duncan Hutty
More information about the wplug
mailing list