[8788] in Info-AFS_Redistribution
Re: scripting drive maps
daemon@ATHENA.MIT.EDU (Peter Scott)
Wed Jan 23 18:29:11 2002
Message-Id: <4.3.2.7.2.20020123152459.00bbfa10@mail2a.jpl.nasa.gov>
Date: Wed, 23 Jan 2002 15:25:17 -0800
To: David Bear <David.Bear@asu.edu>, info-afs@transarc.com
From: Peter Scott <Peter.J.Scott@jpl.nasa.gov>
In-Reply-To: <Pine.LNX.4.33.0201231525040.6239-100000@moroni.pp.asu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 03:32 PM 1/23/02 -0700, David Bear wrote:
>I need a 'good' scripting language to help customize our AFS drive mapping
>on windows (both w9x and nt/2k). In the past I have used rexx (regina) to
>look at the tokens held by the cache manager, parse the output to find who
>the current authenticated AFS users is, the rewrite the afsdbmnt.ini file
>to point directly to the AFS home space.
>
>Win2k breaks rexx in certain ways that I don't care to find out exactly
>why or fix it. Ergo, time to re-script.
>
>a 'good' script language would need a good parsing command syntax and be
>able to issue system calls to the os read/write files, map drives, etc.
Perl should be able to do the job, there is a Win32 API.
--
Peter Scott
Peter.J.Scott@jpl.nasa.gov