Can anyone tell me what is wrong with this simple script. The idea is if a certain file is not present, then it will map a network drive and then run an app [Mad] lication within that network drive.

If @userid = 'wrights'
If Not Exist ("c:\essbase_1\bin\essexcln.xll")
use k: "\\essbase_1\essclnt\essbase502\502p13"
run k"\\essbase_1\essclnt\essbase502\502p13\setup.exe"
Endif

(MCA: complete subject)

[ 20 June 2002, 19:15: Message edited by: MCA ]
_________________________
Any problem encountered is a challenge to overcome.