{edit}Update - Please see below for a newer version.
Thanks to all for your input. Well... being as I'm as lazy as I am...
too lazy to try and reverse engineer the scripts submitted...
I decided to write my own. It will run on the NAV Parent server as a Task Scheduler job. If anyone wants to adopt it, the first three vars need be set.
$TempDir is where the downloaded file gets extracted to. The script will delete everything in $TempDir once done.
$WorkDir is where the script runs from, creates FTP scripts to, downloads vpcur.lst and symcdefsx86.exe which all but the KiX script get deleted and recreated.
$VPHome is where NAV is installed to on the Parent server. In my case it is C:\Program Files\NAV.
If you want to test it, just create test folders to match and copy your VDB files to $VPHome.
code:
Break on
;========================================
; NAV pattern file version checker, downloader, and updater
; by les_ligetfalvy
;========================================
; First we determine current pattern file on NAV Parent server
;
$TempDir ="C:\Test\Temp" ; ###change to where your's will go###
$WorkDir ="C:\Test" ; ###change to where your's will go###
$VPHome ="C:\Test\NAV" ; ###change to where your NAV parent's .vdb files exist###
; code deleted, see new post below
[ 12. August 2002, 16:37: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.